<div dir="ltr"><div><div><div>The file hw/misc/vfio.c does not exist anymore. I only found DEBUG_VFIO in include/hw/vfio/vfio-common.h. <br></div>I compiled the via makepkg and included the patch below, but the output does not change.<br></div>I checked the line while compiling and it is changed. I compiled it twice and installed it, but the output does not change.<br></div>Maybe it did sth wrong but I do not find my mistake. Any hints?<br><div><div><div><br><br>--- a/include/hw/vfio/vfio-common.h    2015-11-03 21:01:33.000000000 +0100<br>+++ b/include/hw/vfio/vfio-common.h    2016-01-05 02:02:03.837570618 +0100<br>@@ -26,7 +26,7 @@<br> #include "qemu/queue.h"<br> #include "qemu/notify.h"<br> <br>-/*#define DEBUG_VFIO*/<br>+#define DEBUG_VFIO<br> #ifdef DEBUG_VFIO<br> #define DPRINTF(fmt, ...) \<br>     do { fprintf(stderr, "vfio: " fmt, ## __VA_ARGS__); } while (0)<br><br><div class="gmail_extra"><br><div class="gmail_quote">2016-01-04 3:53 GMT+01:00 Eddie Yen <span dir="ltr"><<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hmm.... It seems like your R9 285 really got reset issue.<div>As I known there're few AMD cards can't reset correctly, and most issues is about VBIOS (as I saw).</div><div><br></div><div>If you mean VM reboot, I guess the reason is that VFIO goes reset the device when shutting down VM, but can't reset (shutdown) correctly in some reasons.</div><div>And reboot works just because rebooting won't "shutdown" the device.</div><div>I met this issue long time ago when VFIO released at beginning. And I was using GTX480 in that time.</div><div><br></div><div>I remember that you can compile VFIO as debug mode.</div><div>You can find in Archlinux forum [1], but I'm not sure that work or not, it was 2 years ago message, maybe it no longer work already.</div><div><br></div><div>[1] <a href="https://bbs.archlinux.org/viewtopic.php?pid=1416318#p1416318" target="_blank">https://bbs.archlinux.org/viewtopic.php?pid=1416318#p1416318</a></div></div><div class="gmail_extra"><br></div></blockquote></div></div></div></div></div></div>