Re: [kvm-devel] [PATCH] KVM: Fix lockup on 32-bit intel hosts with nx disabled in the bios

2007-01-31 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > Intel hosts, without long mode, and with nx support disabled in the > bios have an efer that is readable but not writable. This causes a > lockup on switch to guest mode (even though it should exit with reason > 34 according to the documentation). >

Re: [kvm-devel] paravirtualization hypercall API

2007-01-31 Thread Avi Kivity
[EMAIL PROTECTED] wrote: > hi, > >Is there any documentation/information on the paravirtualization hypercall > API for the KVM paravirtualization for Linux announced by Ingo Molnar? > > It's documented in the source, which will be merged in a couple of days. -- Do not meddle in the inte

Re: [kvm-devel] [PATCH] KVM: Fix lockup on 32-bit intel hosts with nx disabled in the bios

2007-01-31 Thread Jeff Chua
On 1/31/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Intel hosts, without long mode, and with nx support disabled in the bios > have an efer that is readable but not writable. This causes a lockup on > switch to guest mode (even though it should exit with reason 34 according to > the documentation)

[kvm-devel] paravirtualization hypercall API

2007-01-31 Thread okhan
hi, Is there any documentation/information on the paravirtualization hypercall API for the KVM paravirtualization for Linux announced by Ingo Molnar? Omar Khan - Using Tomcat but need to do more? Need to support web serv

Re: [kvm-devel] [RFT] kvm host suspend/resume

2007-01-31 Thread Jeremy Katz
Avi Kivity wrote: Jeremy Katz wrote: On Wed, 2007-01-31 at 12:32 +0200, Avi Kivity wrote: Jeremy Katz wrote: Avi Kivity wrote: I've committed kvm support for host suspend-to-disk (and hopefully resume too). This means you can suspend your machine with running vms, and resume it later will

[kvm-devel] [PATCH try #2] kvm-12 userland guest reboot fix

2007-01-31 Thread Joerg Roedel
From: Markus Rechberger <[EMAIL PROTECTED]> From: Joerg Roedel <[EMAIL PROTECTED]> This patch fixes the initialization of the segment registers which solves the triple fault and keyboard controller reset problems in kvm/qemu guests as well as the slow grub menu interaction. The patch should also w

Re: [kvm-devel] [RFT] kvm host suspend/resume

2007-01-31 Thread Avi Kivity
Jeremy Katz wrote: > On Wed, 2007-01-31 at 12:32 +0200, Avi Kivity wrote: > >> Jeremy Katz wrote: >> >>> Avi Kivity wrote: >>> I've committed kvm support for host suspend-to-disk (and hopefully resume too). This means you can suspend your machine with running vms,

Re: [kvm-devel] [RFT] kvm host suspend/resume

2007-01-31 Thread Jeremy Katz
On Wed, 2007-01-31 at 12:32 +0200, Avi Kivity wrote: > Jeremy Katz wrote: > > Avi Kivity wrote: > >> I've committed kvm support for host suspend-to-disk (and hopefully > >> resume too). This means you can suspend your machine with running > >> vms, and resume it later will all vms returning to

Re: [kvm-devel] [PATCH] KVM: Fix lockup on 32-bit intel hosts with nx disabled in the bios

2007-01-31 Thread Avi Kivity
Avi Kivity wrote: > Intel hosts, without long mode, and with nx support disabled in the bios > have an efer that is readable but not writable. This causes a lockup on > switch to guest mode (even though it should exit with reason 34 according to > the documentation). > > Andrew, I believe this

[kvm-devel] [PATCH] KVM: Fix lockup on 32-bit intel hosts with nx disabled in the bios

2007-01-31 Thread Avi Kivity
Intel hosts, without long mode, and with nx support disabled in the bios have an efer that is readable but not writable. This causes a lockup on switch to guest mode (even though it should exit with reason 34 according to the documentation). Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: l

Re: [kvm-devel] [PATCH 4/5] KVM: cpu hotplug support

2007-01-31 Thread Avi Kivity
Ingo Molnar wrote: > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > >> On Tue, 30 Jan 2007 14:56:16 - >> Avi Kivity <[EMAIL PROTECTED]> wrote: >> >> >>> +static void decache_vcpus_on_cpu(int cpu) >>> +{ >>> + struct kvm *vm; >>> + struct kvm_vcpu *vcpu; >>> + int i; >>> + >>> +

Re: [kvm-devel] [RFT] kvm host suspend/resume

2007-01-31 Thread Avi Kivity
Jeremy Katz wrote: Avi Kivity wrote: I've committed kvm support for host suspend-to-disk (and hopefully resume too). This means you can suspend your machine with running vms, and resume it later will all vms returning to the saved state. This should please laptop owners. So testing with tr

Re: [kvm-devel] [PATCH 5/5] KVM: Host suspend/resume support

2007-01-31 Thread Avi Kivity
Rafael J. Wysocki wrote: > On Tuesday, 30 January 2007 22:20, Nigel Cunningham wrote: > >> Hi. >> >> On Tue, 2007-01-30 at 14:57 +, Avi Kivity wrote: >> >>> Add the necessary callbacks to suspend and resume a host running kvm. This >>> is just a repeat of the cpu hotplug/unplug work. >

Re: [kvm-devel] [PATCH 4/5] KVM: cpu hotplug support

2007-01-31 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > On Tue, 30 Jan 2007 14:56:16 - > Avi Kivity <[EMAIL PROTECTED]> wrote: > > > +static void decache_vcpus_on_cpu(int cpu) > > +{ > > + struct kvm *vm; > > + struct kvm_vcpu *vcpu; > > + int i; > > + > > + spin_lock(&kvm_lock); > > + list_f