[vfio-users] OVMF: Boots only first time after driver installation

S B sb9sb0 at gmail.com
Tue Jan 5 18:49:51 UTC 2016


The file hw/misc/vfio.c does not exist anymore. I only found DEBUG_VFIO in
include/hw/vfio/vfio-common.h.
I compiled the via makepkg and included the patch below, but the output
does not change.
I checked the line while compiling and it is changed. I compiled it twice
and installed it, but the output does not change.
Maybe it did sth wrong but I do not find my mistake. Any hints?


--- a/include/hw/vfio/vfio-common.h    2015-11-03 21:01:33.000000000 +0100
+++ b/include/hw/vfio/vfio-common.h    2016-01-05 02:02:03.837570618 +0100
@@ -26,7 +26,7 @@
 #include "qemu/queue.h"
 #include "qemu/notify.h"

-/*#define DEBUG_VFIO*/
+#define DEBUG_VFIO
 #ifdef DEBUG_VFIO
 #define DPRINTF(fmt, ...) \
     do { fprintf(stderr, "vfio: " fmt, ## __VA_ARGS__); } while (0)


2016-01-04 3:53 GMT+01:00 Eddie Yen <missile0407 at gmail.com>:

> Hmm.... It seems like your R9 285 really got reset issue.
> As I known there're few AMD cards can't reset correctly, and most issues
> is about VBIOS (as I saw).
>
> 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.
> And reboot works just because rebooting won't "shutdown" the device.
> I met this issue long time ago when VFIO released at beginning. And I was
> using GTX480 in that time.
>
> I remember that you can compile VFIO as debug mode.
> 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.
>
> [1] https://bbs.archlinux.org/viewtopic.php?pid=1416318#p1416318
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160105/66c608dc/attachment.htm>


More information about the vfio-users mailing list