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: [RFC PATCH v8 00/16] Provide a zero-copy method on KVM virtio-net.

2010-07-31 Thread Arnd Bergmann
On Friday 30 July 2010 17:51:52 Shirley Ma wrote: On Fri, 2010-07-30 at 16:53 +0800, Xin, Xiaohui wrote: Since vhost-net already supports macvtap/tun backends, do you think whether it's better to implement zero copy in macvtap/tun than inducing a new media passthrough device here?

Re: 2.6.35-rc1 regression with pvclock and smp guests

2010-07-31 Thread Arjan Koers
On 2010-07-31 03:38, Zachary Amsden wrote: How are you printing shadow.version? From a local variable captured during the barrier window or directly in a printk afterwards? If should never go backwards like this, and the vcpus come from a zalloc. This is not easily explainable by anything

Re: 2.6.35-rc1 regression with pvclock and smp guests

2010-07-31 Thread Arjan Koers
On 2010-07-31 04:39, Zachary Amsden wrote: On 07/30/2010 02:34 PM, Arjan Koers wrote: On 2010-07-28 12:37, Avi Kivity wrote: On 07/28/2010 12:00 AM, Arjan Koers wrote: On 2010-07-26 20:59, Arjan Koers wrote: I ran into the same problem. 2.6.34.1 and 2.6.35-rc6 SMP guest

Re: 2.6.35-rc1 regression with pvclock and smp guests

2010-07-31 Thread Arjan Koers
On 2010-07-31 13:53, Arjan Koers wrote: The kernel boots successfully when CONFIG_PRINTK_TIME is not set. The problem occurs when this message is printed: [0.016000] kvm-clock: cpu 1, msr 0:1511c01, secondary cpu clock When I disable that printk, the kernel boots with

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: [PATCH 1/3] device-assignment: Fix slow option ROM mapping

2010-07-31 Thread Chris Wright
* Alex Williamson (alex.william...@redhat.com) wrote: cpu_register_io_memory() supports individual function pointers being NULL, not the structure itself. Create and pass the right thing. Acked-by: Chris Wright chr...@redhat.com -- To unsubscribe from this list: send the line unsubscribe kvm

Re: [PATCH 2/3] device-assignment: Always use slow mapping for PCI option ROM

2010-07-31 Thread Chris Wright
* Alex Williamson (alex.william...@redhat.com) wrote: KVM doesn't support read-only mappings for MMIO space. Performance isn't an issue for the option ROM mapping, so always use slow mapping. kvm.git cset b4f8c249 will make kvm hang with a Bad address fault without this. We can also then

Re: [PATCH 3/3] device-assignment: Byte-wise ROM read

2010-07-31 Thread Chris Wright
* Alex Williamson (alex.william...@redhat.com) wrote: The host kernel filters the PCI option ROM, returning only bytes for the actual ROM size, not for the whole BAR. That means we typically do a short read of the PCI sysfs ROM file. Read it a byte at a time so we know how much to actually

Re: [PATCH 1/2] KVM: x86 emulator: don't update vcpu state if instruction is restarted.

2010-07-31 Thread Avi Kivity
On 07/29/2010 03:11 PM, Gleb Natapov wrote: No need to update vcpu state since instruction is in the middle of the emulation. Signed-off-by: Gleb Natapovg...@redhat.com --- arch/x86/kvm/x86.c | 31 +-- 1 files changed, 13 insertions(+), 18 deletions(-) diff

Re: 2.6.35-rc1 regression with pvclock and smp guests

2010-07-31 Thread Arjan Koers
On 2010-07-31 18:36, Arjan Koers wrote: On 2010-07-31 13:53, Arjan Koers wrote: The kernel boots successfully when CONFIG_PRINTK_TIME is not set. The problem occurs when this message is printed: [0.016000] kvm-clock: cpu 1, msr 0:1511c01, secondary cpu clock When I disable that

Re: 2.6.35-rc1 regression with pvclock and smp guests

2010-07-31 Thread Zachary Amsden
On 07/31/2010 06:36 AM, Arjan Koers wrote: On 2010-07-31 13:53, Arjan Koers wrote: The kernel boots successfully when CONFIG_PRINTK_TIME is not set. The problem occurs when this message is printed: [0.016000] kvm-clock: cpu 1, msr 0:1511c01, secondary cpu clock When I disable