RE: VT-d regression issue

2010-08-01 Thread Hao, Xudong
Alex Williamson wrote: On Sat, 2010-07-31 at 16:33 +0800, Hao, Xudong wrote: Alex Williamson wrote: On Thu, 2010-07-22 at 16:03 +0300, Gleb Natapov wrote: On Thu, Jul 22, 2010 at 08:32:31PM +0800, Hao, Xudong wrote: Well, this patch works fine for me. Looks like userspace problem then.

RE: VT-d regression issue

2010-07-31 Thread Hao, Xudong
Alex Williamson wrote: On Thu, 2010-07-22 at 16:03 +0300, Gleb Natapov wrote: On Thu, Jul 22, 2010 at 08:32:31PM +0800, Hao, Xudong wrote: Well, this patch works fine for me. Looks like userspace problem then. Userspace relied on something that was not guarantied by the kernel (access to

RE: VT-d regression issue

2010-07-31 Thread Alex Williamson
On Sat, 2010-07-31 at 16:33 +0800, Hao, Xudong wrote: Alex Williamson wrote: On Thu, 2010-07-22 at 16:03 +0300, Gleb Natapov wrote: On Thu, Jul 22, 2010 at 08:32:31PM +0800, Hao, Xudong wrote: Well, this patch works fine for me. Looks like userspace problem then. Userspace relied on

Re: VT-d regression issue

2010-07-30 Thread Alex Williamson
On Thu, 2010-07-22 at 16:03 +0300, Gleb Natapov wrote: On Thu, Jul 22, 2010 at 08:32:31PM +0800, Hao, Xudong wrote: Well, this patch works fine for me. Looks like userspace problem then. Userspace relied on something that was not guarantied by the kernel (access to read only page forwarded

Re: VT-d regression issue

2010-07-22 Thread Gleb Natapov
On Thu, Jul 22, 2010 at 03:57:55PM +0800, Hao, Xudong wrote: Hi, all On KVM commit cb7eaecb3389c7fa2490ea1bee8f10cfa5df30d4, I met a kvm_run return fasle when assign additional NIC device to KVM guest, but onboard NIC works fine. command: qemu-system-x86_64 -m 256 -smp 2 -device

RE: VT-d regression issue

2010-07-22 Thread Hao, Xudong
[r...@vt-nhm1 ~]# lspci -vv -s 01:00.0 01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06) Subsystem: Intel Corporation PRO/1000 PT Desktop Adapter Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR-

Re: VT-d regression issue

2010-07-22 Thread Gleb Natapov
On Thu, Jul 22, 2010 at 04:47:12PM +0800, Hao, Xudong wrote: [r...@vt-nhm1 ~]# lspci -vv -s 01:00.0 01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06) Subsystem: Intel Corporation PRO/1000 PT Desktop Adapter Control: I/O+ Mem+

RE: VT-d regression issue

2010-07-22 Thread Hao, Xudong
Patch did not work, qemu stoped @ Can you try this patch for qemu-kvm please? diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 2bba22f..7240985 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -238,9 +238,10 @@ static void

Re: VT-d regression issue

2010-07-22 Thread Gleb Natapov
On Thu, Jul 22, 2010 at 07:09:37PM +0800, Hao, Xudong wrote: Patch did not work, qemu stoped @ Stopped with the same error? diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 2bba22f..7240985 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -238,9

RE: VT-d regression issue

2010-07-22 Thread Hao, Xudong
Gleb, This patch does not work either, qemu stoped @ Starting Seabios. Can you try this patch for qemu-kvm please? diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 2bba22f..7240985 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -238,9 +238,10 @@

Re: VT-d regression issue

2010-07-22 Thread Gleb Natapov
On Thu, Jul 22, 2010 at 07:11:34PM +0800, Hao, Xudong wrote: Gleb, This patch does not work either, qemu stoped @ Starting Seabios. And this one? diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 2bba22f..b7e7dc0 100644 --- a/hw/device-assignment.c +++

RE: VT-d regression issue

2010-07-22 Thread Hao, Xudong
Well, this patch works fine for me. Gleb Natapov wrote: On Thu, Jul 22, 2010 at 07:11:34PM +0800, Hao, Xudong wrote: Gleb, This patch does not work either, qemu stoped @ Starting Seabios. And this one? diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 2bba22f..b7e7dc0

Re: VT-d regression issue

2010-07-22 Thread Gleb Natapov
On Thu, Jul 22, 2010 at 08:32:31PM +0800, Hao, Xudong wrote: Well, this patch works fine for me. Looks like userspace problem then. Userspace relied on something that was not guarantied by the kernel (access to read only page forwarded to userspace as MMOI). Gleb Natapov wrote: On Thu, Jul