Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Paolo Bonzini
On 10/23/2010 03:50 AM, Alex Williamson wrote: Oops, memory.c isn't upstream, I'll push it down in my patch queue and send a new one. Neither is kvm_set_irq actually. :) This patch is only needed for qemu-kvm. BTW, maybe the better solution would be to move the kvm_*_irq* functions from

[no subject]

2010-10-23 Thread satimis
http://satimis.blog-discount.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [SeaBIOS] [PATCH] mark irq9 active high in DSDT

2010-10-23 Thread Kevin O'Connor
On Thu, Oct 21, 2010 at 12:07:17PM +0200, Avi Kivity wrote: How do we manage the stable series wrt this issue? qemu-kvm-0.12.5 has a regression within the stable series that this patch fixes. qemu 0.12.5 does not, but only because it does not emulate polarity in the I/O APIC correctly.

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Michael S. Tsirkin
On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP defined. This requires moving the object over to Makefile.target or else we can't find config-target.h

Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-23 Thread Michael S. Tsirkin
On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the device already has an MSI-X capability. This also means we want to pay closer attention to the size when we map the msix

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Alex Williamson
On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP defined. This requires moving the object

Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-23 Thread Alex Williamson
On Sat, 2010-10-23 at 18:18 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the device already has an MSI-X capability. This also means

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Michael S. Tsirkin
On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever

qemu 0.13.0: threaded vnc and boot=once are broken

2010-10-23 Thread Nix
So I've been using QEMU/KVM 0.12.5 happily to boot both various Linux distributions and Windows XP. I upgraded to 0.13.0 (tip of stable-0.13 branch) to get virtio-serial (which recent libguestfses require). I configured with --enable-vnc-thread because a quick perusal of relevant list discussions

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Alex Williamson
On Sat, 2010-10-23 at 19:29 +0200, Michael S. Tsirkin wrote: On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Michael S. Tsirkin
On Sat, Oct 23, 2010 at 12:42:44PM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 19:29 +0200, Michael S. Tsirkin wrote: On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Alex Williamson
On Sat, Oct 23, 2010 at 2:38 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sat, Oct 23, 2010 at 12:42:44PM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 19:29 +0200, Michael S. Tsirkin wrote: On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at

Re: Gests periodically stuck for ~ 10-15 seconds - what to do?

2010-10-23 Thread Hermann Himmelbauer
Am Samstag 23 Oktober 2010 22:37:41 schrieb Hermann Himmelbauer: Hi, I'm quite new to virtualization and KVM, I have a 2*4-core Intel machine here with 16GB RAM and Debian Lenny as host. I further installed two Debian Lenny guests, one with 2 CPUs, the other with one. The guests were

[patch 4/5] qemu-kvm: use upstream regs save/restore code

2010-10-23 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm/qemu-kvm-x86.c === --- qemu-kvm.orig/qemu-kvm-x86.c +++ qemu-kvm/qemu-kvm-x86.c @@ -719,35 +719,12 @@ static void kvm_reset_mpstate(CPUState * void

[patch 0/5] use upstream x86 state save/restore code

2010-10-23 Thread Marcelo Tosatti
-- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[patch 1/5] qemu-kvm: kill xsave/xcrs helpers

2010-10-23 Thread Marcelo Tosatti
Use kvm_vcpu_ioctl directly instead. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm/qemu-kvm-x86.c === --- qemu-kvm.orig/qemu-kvm-x86.c +++ qemu-kvm/qemu-kvm-x86.c @@ -825,7 +825,7 @@ void

[patch 3/5] qemu-kvm: use upstream sregs save/restore code

2010-10-23 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm/qemu-kvm-x86.c === --- qemu-kvm.orig/qemu-kvm-x86.c +++ qemu-kvm/qemu-kvm-x86.c @@ -709,55 +709,6 @@ static void kvm_reset_mpstate(CPUState * #endif } -static

[patch 2/5] qemu-kvm: use upstream fpu/xsave/xcrs save/restore code

2010-10-23 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm/qemu-kvm.c === --- qemu-kvm.orig/qemu-kvm.c +++ qemu-kvm/qemu-kvm.c @@ -472,16 +472,6 @@ int kvm_set_regs(CPUState *env, struct k return kvm_vcpu_ioctl(env,

[patch 5/5] qemu-kvm: use upstream msr save/restore code

2010-10-23 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm/qemu-kvm-x86.c === --- qemu-kvm.orig/qemu-kvm-x86.c +++ qemu-kvm/qemu-kvm-x86.c @@ -28,10 +28,6 @@ static struct kvm_msr_list *kvm_msr_list; extern unsigned int