Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Blue Swirl
On Tue, Sep 4, 2012 at 9:28 PM, Michael S. Tsirkin m...@redhat.com wrote: On Tue, Sep 04, 2012 at 07:27:32PM +, Blue Swirl wrote: On Tue, Sep 4, 2012 at 8:32 AM, Avi Kivity a...@redhat.com wrote: On 09/03/2012 10:32 PM, Blue Swirl wrote: On Mon, Sep 3, 2012 at 4:14 PM, Avi Kivity

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Anthony Liguori
Blue Swirl blauwir...@gmail.com writes: On Wed, Sep 5, 2012 at 3:41 PM, Anthony Liguori anth...@codemonkey.ws wrote: Avi Kivity a...@redhat.com writes: On 09/05/2012 12:00 AM, Anthony Liguori wrote: Why? The way this is being submitted I don't see why we should treat Jan's patch any

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Eric Blake
On 09/05/2012 01:04 PM, Blue Swirl wrote: I don't mind GPLv2+, if people want to share code from QEMU in GPLv3 projects, GPLv2+ enables that. The advantage of 100% GPLv2+ (or other GPLv3 compatible) would be that QEMU could share code from GPLv3 projects, specifically latest binutils.

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Blue Swirl
On Wed, Sep 5, 2012 at 7:22 PM, Anthony Liguori anth...@codemonkey.ws wrote: Blue Swirl blauwir...@gmail.com writes: On Wed, Sep 5, 2012 at 3:41 PM, Anthony Liguori anth...@codemonkey.ws wrote: Avi Kivity a...@redhat.com writes: On 09/05/2012 12:00 AM, Anthony Liguori wrote: Why? The way

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Blue Swirl
On Wed, Sep 5, 2012 at 7:24 PM, Eric Blake ebl...@redhat.com wrote: On 09/05/2012 01:04 PM, Blue Swirl wrote: I don't mind GPLv2+, if people want to share code from QEMU in GPLv3 projects, GPLv2+ enables that. The advantage of 100% GPLv2+ (or other GPLv3 compatible) would be that QEMU could

Re: [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Anthony Liguori
Blue Swirl blauwir...@gmail.com writes: On Wed, Sep 5, 2012 at 7:22 PM, Anthony Liguori anth...@codemonkey.ws wrote: Blue Swirl blauwir...@gmail.com writes: On Wed, Sep 5, 2012 at 3:41 PM, Anthony Liguori anth...@codemonkey.ws wrote: Avi Kivity a...@redhat.com writes: On 09/05/2012 12:00

Re: [PATCH] KVM: VMX: invalidate vpid for invlpg instruction

2012-09-05 Thread Davidlohr Bueso
On Mon, 2012-09-03 at 12:11 +0300, Avi Kivity wrote: On 09/03/2012 02:27 AM, Davidlohr Bueso wrote: On Fri, 2012-08-31 at 14:37 -0300, Marcelo Tosatti wrote: On Fri, Aug 31, 2012 at 06:10:48PM +0200, Davidlohr Bueso wrote: For processors that support VPIDs we should invalidate the page

Re: [PATCH 6/6] KVM: booke/bookehv: Add debug stub support

2012-09-05 Thread Scott Wood
On 08/21/2012 08:52 AM, Bharat Bhushan wrote: This patch adds the debug stub support on booke/bookehv. Now QEMU debug stub can use hw breakpoint, watchpoint and software breakpoint to debug guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com ---

Re: [PATCH 5/6] booke: Added DBCR4 SPR number

2012-09-05 Thread Scott Wood
On 08/21/2012 08:51 AM, Bharat Bhushan wrote: Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- arch/powerpc/include/asm/reg_booke.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/reg_booke.h

Re: [PATCH 6/6] KVM: booke/bookehv: Add debug stub support

2012-09-05 Thread Scott Wood
On 09/05/2012 06:23 PM, Scott Wood wrote: On 08/21/2012 08:52 AM, Bharat Bhushan wrote: This patch adds the debug stub support on booke/bookehv. Now QEMU debug stub can use hw breakpoint, watchpoint and software breakpoint to debug guest. Signed-off-by: Bharat Bhushan

Re: [SeaBIOS] [PATCH v3] add acpi pmtimer support

2012-09-05 Thread Kevin O'Connor
On Wed, Sep 05, 2012 at 07:28:15AM +0200, Gerd Hoffmann wrote: This patch makes seabios use the acpi pmtimer instead of tsc for timekeeping. The pmtimer has a fixed frequency and doesn't need calibration, thus it doesn't suffer from calibration errors due to a loaded host machine. [ v3:

RE: [PATCH v2] kvm/fpu: Enable fully eager restore kvm FPU

2012-09-05 Thread Hao, Xudong
-Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Wednesday, September 05, 2012 9:13 PM To: Hao, Xudong Cc: kvm@vger.kernel.org; Zhang, Xiantao; joerg.roe...@amd.com Subject: Re: [PATCH v2] kvm/fpu: Enable fully eager restore kvm FPU On 09/05/2012 04:26 AM, Xudong

Re: [RFC 0/5] Making KVM_GET_ONE_REG/KVM_SET_ONE_REG generic.

2012-09-05 Thread Rusty Russell
Peter Maydell peter.mayd...@linaro.org writes: On 5 September 2012 07:48, Rusty Russell ru...@rustcorp.com.au wrote: Peter Maydell peter.mayd...@linaro.org writes: I could live with always read/write 64 bits. I definitely don't want to have to deal with matching up register widths to accesses

Re: [PATCH v2 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-09-05 Thread Rusty Russell
Sasha Levin levinsasha...@gmail.com writes: On 08/28/2012 03:20 PM, Michael S. Tsirkin wrote: On Tue, Aug 28, 2012 at 03:04:03PM +0200, Sasha Levin wrote: Currently if VIRTIO_RING_F_INDIRECT_DESC is enabled we will use indirect descriptors and allocate them using a simple kmalloc(). This

Re: [PATCH 2/5] virtio: introduce an API to set affinity for a virtqueue

2012-09-05 Thread Rusty Russell
Paolo Bonzini pbonz...@redhat.com writes: From: Jason Wang jasow...@redhat.com Sometimes, virtio device need to configure irq affinity hint to maximize the performance. Instead of just exposing the irq of a virtqueue, this patch introduce an API to set the affinity for a virtqueue. The api

Re: [PATCH v2 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-09-05 Thread Rusty Russell
Sasha Levin levinsasha...@gmail.com writes: On Wed, Aug 29, 2012 at 05:03:03PM +0200, Sasha Levin wrote: I've also re-ran it on a IBM server type host instead of my laptop. Here are the results: Vanilla kernel: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to

Re: [PATCH 1/5] virtio-ring: move queue_index to vring_virtqueue

2012-09-05 Thread Rusty Russell
Paolo Bonzini pbonz...@redhat.com writes: From: Jason Wang jasow...@redhat.com Instead of storing the queue index in transport-specific virtio structs, this patch moves them to vring_virtqueue and introduces an helper to get the value. This lets drivers simplify their management and tracing

Re: [PATCH] virtio: support reserved vqs

2012-09-05 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: virtio network device multiqueue support reserves vq 3 for future use (useful both for future extensions and to make it pretty - this way receive vqs have even and transmit - odd numbers). Make it possible to skip initialization for specific vq

Re: [PATCH v2] virtio-spec: Add virtio-ccw spec.

2012-09-05 Thread Rusty Russell
Cornelia Huck cornelia.h...@de.ibm.com writes: Add specifications for the new s390 specific virtio-ccw transport. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com Excellent. I have applied and pushed this revision. I was tempted to ask for an explicit endian marker, as switching to

Re: [PATCH] Add a page cache-backed balloon device driver.

2012-09-05 Thread Rusty Russell
Paolo Bonzini pbonz...@redhat.com writes: Il 02/07/2012 02:29, Rusty Russell ha scritto: VIRTIO_BALLOON_F_MUST_TELL_HOST implies you should tell the host (eventually). I don't know if any implementations actually care though. This is indeed broken, because it is a negative feature: it tells

Re: [PATCH v2] virtio-spec: Add virtio-ccw spec.

2012-09-05 Thread Benjamin Herrenschmidt
On Thu, 2012-09-06 at 11:56 +0930, Rusty Russell wrote: Excellent. I have applied and pushed this revision. I was tempted to ask for an explicit endian marker, as switching to explicit little endian was high on the TODO list for virtio2. On the other hand, we could say virtio2-pci config

Re: [PATCH 1/2] kvm tools: Export DISPLAY ENV as our default host ip address

2012-09-05 Thread Asias He
On Wed, Sep 5, 2012 at 7:56 PM, Avi Kivity a...@redhat.com wrote: On 09/05/2012 01:14 PM, Asias He wrote: On Wed, Sep 5, 2012 at 5:53 PM, Avi Kivity a...@redhat.com wrote: On 09/05/2012 12:46 PM, Asias He wrote: Ok. Then the socat command not only exposes the display to the guest, but also

Re: [Qemu-ppc] [Qemu-devel] [PATCH 4/4] kvm: i386: Add classic PCI device assignment

2012-09-05 Thread Alexander Graf
On 05.09.2012, at 15:38, Blue Swirl wrote: On Wed, Sep 5, 2012 at 7:22 PM, Anthony Liguori anth...@codemonkey.ws wrote: Blue Swirl blauwir...@gmail.com writes: On Wed, Sep 5, 2012 at 3:41 PM, Anthony Liguori anth...@codemonkey.ws wrote: Avi Kivity a...@redhat.com writes: On 09/05/2012

Re: [PATCH v2 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-09-05 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 10:32:48AM +0930, Rusty Russell wrote: Sasha Levin levinsasha...@gmail.com writes: On Wed, Aug 29, 2012 at 05:03:03PM +0200, Sasha Levin wrote: I've also re-ran it on a IBM server type host instead of my laptop. Here are the results: Vanilla kernel:

Re: [SeaBIOS] [PATCH v2] add acpi pmtimer support

2012-09-05 Thread Gerd Hoffmann
Hi, +u32 pmtimer = inl(ioport); +return (u64)wraps 24 | pmtimer; BTW, why is this 24, and if it should be that way, shouldn't the pmtimer be inl(ioport) 0xff ? The pmtimer is defined to be 24 bits wide, so the shift is correct. This is not true in general. It can be either

Re: [PATCH 6/6] KVM: booke/bookehv: Add debug stub support

2012-09-05 Thread Scott Wood
On 08/21/2012 08:52 AM, Bharat Bhushan wrote: This patch adds the debug stub support on booke/bookehv. Now QEMU debug stub can use hw breakpoint, watchpoint and software breakpoint to debug guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com ---

Re: [PATCH 5/6] booke: Added DBCR4 SPR number

2012-09-05 Thread Scott Wood
On 08/21/2012 08:51 AM, Bharat Bhushan wrote: Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- arch/powerpc/include/asm/reg_booke.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/reg_booke.h

<    1   2