Re: [Qemu-devel] VFIO-VGA Issue

2013-05-19 Thread Alex Williamson
On Fri, 2013-05-17 at 12:23 +0200, Paolo Bonzini wrote: Il 16/05/2013 22:46, Maik Broemme ha scritto: Regarding 2) it results in 100 messages like the following on the console which runs qemu: qemu-system-x86_64: vfio_vga_read(,0x3c3, 1) failed: Interrupted system call

Re: [Qemu-devel] VFIO-VGA Issue

2013-05-17 Thread Paolo Bonzini
Il 16/05/2013 22:46, Maik Broemme ha scritto: Regarding 2) it results in 100 messages like the following on the console which runs qemu: qemu-system-x86_64: vfio_vga_read(,0x3c3, 1) failed: Interrupted system call qemu-system-x86_64: vfio_vga_read(,0x3c3, 1) failed: Interrupted system call

Re: [Qemu-devel] VFIO-VGA Issue

2013-05-16 Thread Maik Broemme
Hi Alex, and what's the problem with q35/pc + vfio-pci (no x-vga). If vfio-pci is the direct replacement for pci-assign it must be a bug in vfio, huh? It's either a bug in vfio or the above configuration issue with the pcieport. I'd appreciate if you could advise how you're configuring

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-26 Thread deniv
Alex Williamson: On Thu, 2013-04-25 at 11:38 +, deniv wrote: Sorry for the long delay. Alex Williamson: On Thu, 2013-04-11 at 13:59 -0400, de...@lavabit.com wrote: On Wed, 2013-04-10 at 16:32 -0400, de...@lavabit.com wrote: However, turning gfx_passthru off did the trick. Win7 started

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-25 Thread deniv
Sorry for the long delay. Alex Williamson: On Thu, 2013-04-11 at 13:59 -0400, de...@lavabit.com wrote: On Wed, 2013-04-10 at 16:32 -0400, de...@lavabit.com wrote: However, turning gfx_passthru off did the trick. Win7 started loading with cirrus and switched to HD7750 halfway through boot

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-15 Thread Alex Williamson
On Thu, 2013-04-11 at 13:59 -0400, de...@lavabit.com wrote: On Wed, 2013-04-10 at 16:32 -0400, de...@lavabit.com wrote: However, turning gfx_passthru off did the trick. Win7 started loading with cirrus and switched to HD7750 halfway through boot proccess. I didn't do any testing just

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-11 Thread deniv
On Wed, 2013-04-10 at 16:32 -0400, de...@lavabit.com wrote: However, turning gfx_passthru off did the trick. Win7 started loading with cirrus and switched to HD7750 halfway through boot proccess. I didn't do any testing just let Windows calculate its score. The result was 7.4 and Aero

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Gleb Natapov
On Tue, Apr 09, 2013 at 04:17:48PM -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 11:18 -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Alex Williamson
On Wed, 2013-04-10 at 12:01 +0300, Gleb Natapov wrote: On Tue, Apr 09, 2013 at 04:17:48PM -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 11:18 -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi! I've tried passing through my ASUS

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Gleb Natapov
On Wed, Apr 10, 2013 at 09:20:52AM -0600, Alex Williamson wrote: On Wed, 2013-04-10 at 12:01 +0300, Gleb Natapov wrote: On Tue, Apr 09, 2013 at 04:17:48PM -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 11:18 -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 08:22 -0400,

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Alex Williamson
On Tue, 2013-04-09 at 20:02 -0400, de...@lavabit.com wrote: On Tue, 2013-04-09 at 18:33 -0400, de...@lavabit.com wrote: Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio:

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread deniv
Although with this patch I get much further, monitor still doesn't sync. I also see some effects on my host GPU (Intel HD4000). Starting qemu ruins colors (black turns green, blue turns purple, etc). Though switching to linux console and back to Xorg fixes it. Hmm, seems like that would

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Paolo Bonzini
Il 10/04/2013 17:20, Alex Williamson ha scritto: On Wed, 2013-04-10 at 12:01 +0300, Gleb Natapov wrote: On Tue, Apr 09, 2013 at 04:17:48PM -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 11:18 -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi!

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Alex Williamson
On Wed, 2013-04-10 at 13:11 -0400, de...@lavabit.com wrote: Although with this patch I get much further, monitor still doesn't sync. I also see some effects on my host GPU (Intel HD4000). Starting qemu ruins colors (black turns green, blue turns purple, etc). Though switching to linux

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread deniv
However, turning gfx_passthru off did the trick. Win7 started loading with cirrus and switched to HD7750 halfway through boot proccess. I didn't do any testing just let Windows calculate its score. The result was 7.4 and Aero was working. You should be able to do this with vfio too, use

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-10 Thread Alex Williamson
On Wed, 2013-04-10 at 16:32 -0400, de...@lavabit.com wrote: However, turning gfx_passthru off did the trick. Win7 started loading with cirrus and switched to HD7750 halfway through boot proccess. I didn't do any testing just let Windows calculate its score. The result was 7.4 and Aero

[Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread deniv
Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and stops. Since the display didn't light up, I couldn't see how far Win 7 boot went. For a Linux guest I tried redirecting kernel messages to serial console, but there was nothing (qemu stops even before

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread Alex Williamson
On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and stops. Since the display didn't light up, I couldn't see how far Win 7 boot went. For a Linux guest I tried redirecting kernel messages

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread Alex Williamson
On Tue, 2013-04-09 at 11:18 -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and stops. Since the display didn't light up, I couldn't see how far Win 7

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread deniv
Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio: SKIPPING region_add fec0 - fec00fff vfio: SKIPPING region_add fed0 - fed003ff vfio: SKIPPING region_add fee0 - feef vfio:

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread Alex Williamson
On Tue, 2013-04-09 at 18:33 -0400, de...@lavabit.com wrote: Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio: SKIPPING region_add fec0 - fec00fff vfio: SKIPPING region_add

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread deniv
On Tue, 2013-04-09 at 18:33 -0400, de...@lavabit.com wrote: Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio: SKIPPING region_add fec0 - fec00fff vfio: SKIPPING region_add