Re: [PATCH] KVM: nVMX: Avoid one redundant vmcs_read in prepare_vmcs12

2013-02-28 Thread Gleb Natapov
On Wed, Feb 20, 2013 at 02:02:23PM +0100, Jan Kiszka wrote: > IDT_VECTORING_INFO_FIELD was already read right after vmexit. > Applied, thanks. > Signed-off-by: Jan Kiszka > --- > arch/x86/kvm/vmx.c |3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kvm/vmx

Re: Tracing kvm: kvm_entry and kvm_exit

2013-02-28 Thread Stefan Hajnoczi
On Thu, Feb 28, 2013 at 5:49 AM, David Ahern wrote: > On 2/27/13 9:39 AM, David Ahern wrote: >> >> I have been playing with the live mode a bit lately. I'll add a debug to >> note 2 consecutive entry events without an exit -- see if it sheds some >> light on it. > > > If you feel game take this fo

Re: [PATCH] KVM: VMX: Pass vcpu to __vmx_complete_interrupts

2013-02-28 Thread Gleb Natapov
On Wed, Feb 20, 2013 at 02:03:24PM +0100, Jan Kiszka wrote: > Cleanup: __vmx_complete_interrupts has no use for the vmx structure. > > Signed-off-by: Jan Kiszka Fixed it to be applicable without "nVMX: Rework event injection and recovery" and applied. Thanks. > --- > > Note: this applies on top

Re: [PATCH v12 rebased] kvm: notify host when the guest is panicked

2013-02-28 Thread Hu Tao
On Thu, Feb 07, 2013 at 11:39:47PM -0200, Marcelo Tosatti wrote: > Hi, > > On Wed, Jan 23, 2013 at 03:19:21PM +0800, Hu Tao wrote: > > We can know the guest is panicked when the guest runs on xen. > > But we do not have such feature on kvm. > > > > Another purpose of this feature is: management a

Re: [PATCH qemu-kvm] virtfs-proxy: fix build with F18

2013-02-28 Thread Aneesh Kumar K.V
"Michael S. Tsirkin" writes: > Ignoring return value of setfsgid(gid) and setfsuid(uid) causes > warnings on F18. Check the return value: man page says > glibc returns -1 on error. > > Signed-off-by: Michael S. Tsirkin > --- > fsdev/virtfs-proxy-helper.c | 7 +-- > 1 file changed, 5 inserti

Re: [PATCH] kvm-unit-test: more documentation and runner script

2013-02-28 Thread Gleb Natapov
On Wed, Feb 27, 2013 at 11:40:37PM +0200, Michael S. Tsirkin wrote: > On Wed, Feb 27, 2013 at 06:03:41PM -0300, Lucas Meneghel Rodrigues wrote: > > On 02/27/2013 05:44 PM, Michael S. Tsirkin wrote: > > >>>+Using qemu (supported since qemu 1.3): > > >>>+qemu-system-x86_64 -enable-kvm -device pc-test

Re: [PATCH qemu-kvm] virtfs-proxy: fix build with F18

2013-02-28 Thread Gleb Natapov
On Thu, Feb 28, 2013 at 09:00:47AM +0200, Michael S. Tsirkin wrote: > Ignoring return value of setfsgid(gid) and setfsuid(uid) causes > warnings on F18. Check the return value: man page says > glibc returns -1 on error. > qemu-kvm is no more. It has ceased to be. Not sure what do you want me to do

Re: [PATCH 0/6] KVM: Clean up and optimize set_memory_region() - part2

2013-02-28 Thread Gleb Natapov
On Thu, Feb 28, 2013 at 10:02:13AM +0900, Takuya Yoshikawa wrote: > [ Resending since my email client seemed to fail. ] > > On Wed, 27 Feb 2013 18:23:45 +0200 > Gleb Natapov wrote: > > > On Wed, Feb 27, 2013 at 07:41:03PM +0900, Takuya Yoshikawa wrote: > > > Note: this is based on the latest mas

[PATCH v4 0/6] kvm: Make ioeventfd usable on s390.

2013-02-28 Thread Cornelia Huck
Here's v4 of the ioeventfd for s390 patch set. The most interesting change is the addition of MST's cookie patch, which enhances the virtio-ccw notify hypercall for future performance optimizations. This patch should go in for 3.9. I'd love to see the other patches in 3.9 as well; but I wouldn't

[PATCH v4 1/6] virtio_ccw: pass a cookie value to kvm hypercall

2013-02-28 Thread Cornelia Huck
From: "Michael S. Tsirkin" Lookups by channel/vq pair on host during virtio notifications might be expensive. Interpret hypercall return value as a cookie which host can use to do device lookups for the next notification more efficiently. [CH: Fix line > 80 chars] Tested-by: Christian Borntraeg

[PATCH v4 5/6] KVM: ioeventfd for virtio-ccw devices.

2013-02-28 Thread Cornelia Huck
Enhance KVM_IOEVENTFD with a new flag that allows to attach to virtio-ccw devices on s390 via the KVM_VIRTIO_CCW_NOTIFY_BUS. Signed-off-by: Cornelia Huck --- Documentation/virtual/kvm/api.txt | 8 include/uapi/linux/kvm.h | 3 +++ virt/kvm/eventfd.c| 17 ++

[PATCH v4 4/6] KVM: Introduce KVM_VIRTIO_CCW_NOTIFY_BUS.

2013-02-28 Thread Cornelia Huck
Add a new bus type for virtio-ccw devices on s390. Signed-off-by: Cornelia Huck --- include/linux/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 3b768ef..206247f 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kv

[PATCH v4 3/6] KVM: Initialize irqfd from kvm_init().

2013-02-28 Thread Cornelia Huck
Currently, eventfd introduces module_init/module_exit functions to initialize/cleanup the irqfd workqueue. This only works, however, if no other module_init/module_exit functions are built into the same module. Let's just move the initialization and cleanup to kvm_init and kvm_exit. This way, it i

[PATCH v4 2/6] KVM: s390: Export virtio-ccw api.

2013-02-28 Thread Cornelia Huck
Export the virtio-ccw api in a header for usage by other code. Signed-off-by: Cornelia Huck --- arch/s390/include/uapi/asm/Kbuild | 1 + arch/s390/include/uapi/asm/virtio-ccw.h | 21 + drivers/s390/kvm/virtio_ccw.c | 5 + 3 files changed, 23 insertions(+

[PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw notifications. Signed-off-by: Cornelia Huck --- arch/s390/kvm/Kconfig| 1 + arch/s390/kvm/Makefile | 2 +- arch/s390/kvm/diag.c | 26 ++ arch/s390/kvm/kvm-s390.c | 1 + 4 files changed, 29 i

[GIT PULL] KVM fixe for 3.9

2013-02-28 Thread Gleb Natapov
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fix. Peter Hurley (1): x86/kvm: Fix pvclock vsyscall fixmap arch/x86/kernel/pvclock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Gleb

unable to get guests network working ( VLAN 802.1q )

2013-02-28 Thread Frank Bonnet
Hello I'm new to KVM ... I've setup an hypervisor on a Debian server (7.0 RC1 ) and I have followed usual tutorial to do so. Everything seems work well except I am unable to connect the first guest I've build to my LAN. I use 802.1q VLAN , the Cisco switch is configured to use it and transport

[PATCH] KVM: nVMX: Fix setting of CR0 and CR4 in guest mode

2013-02-28 Thread Jan Kiszka
The logic for calculating the value with which we call kvm_set_cr0/4 was broken (will definitely be visible with nested unrestricted guest mode support). Also, we performed the check regarding CR0_ALWAYSON too early when in guest mode. What really needs to be done on both CR0 and CR4 is to mask ou

Re: [PATCH] kvm-unit-test: more documentation and runner script

2013-02-28 Thread Michael S. Tsirkin
On Thu, Feb 28, 2013 at 11:06:20AM +0200, Gleb Natapov wrote: > On Wed, Feb 27, 2013 at 11:40:37PM +0200, Michael S. Tsirkin wrote: > > On Wed, Feb 27, 2013 at 06:03:41PM -0300, Lucas Meneghel Rodrigues wrote: > > > On 02/27/2013 05:44 PM, Michael S. Tsirkin wrote: > > > >>>+Using qemu (supported s

Re: [PATCH 0/6] KVM: Clean up and optimize set_memory_region() - part2

2013-02-28 Thread Cornelia Huck
On Wed, 27 Feb 2013 19:41:03 +0900 Takuya Yoshikawa wrote: > Note: this is based on the latest master branch. > > I'm sending this before 3.9-rc1 is released since this can cause extra > conflicts unless we make this available to all arch before we start > adding new stuff. > > Please review: e

Re: [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Michael S. Tsirkin
On Thu, Feb 28, 2013 at 10:22:32AM +0100, Cornelia Huck wrote: > Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw > notifications. > > Signed-off-by: Cornelia Huck > --- > arch/s390/kvm/Kconfig| 1 + > arch/s390/kvm/Makefile | 2 +- > arch/s390/kvm/diag.c | 26 +++

Re: [PATCH] kvm-unit-test: more documentation and runner script

2013-02-28 Thread Gleb Natapov
On Thu, Feb 28, 2013 at 11:45:33AM +0200, Michael S. Tsirkin wrote: > On Thu, Feb 28, 2013 at 11:06:20AM +0200, Gleb Natapov wrote: > > On Wed, Feb 27, 2013 at 11:40:37PM +0200, Michael S. Tsirkin wrote: > > > On Wed, Feb 27, 2013 at 06:03:41PM -0300, Lucas Meneghel Rodrigues wrote: > > > > On 02/2

Re: What cpu for 60-120 vmы?

2013-02-28 Thread Paolo Pedaletti
ciao Vasiliy, What is the best for some small vms? 2-Xeon E5520 or 1- E5-2620 Second have more performance but only one. First have less perfarmance.. What is the best - performance of single cpu or count of cpus with less performance? usually the bottleneck is the storage, not the cpu power

Re: [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
On Thu, 28 Feb 2013 11:50:45 +0200 "Michael S. Tsirkin" wrote: > On Thu, Feb 28, 2013 at 10:22:32AM +0100, Cornelia Huck wrote: > > Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw > > notifications. > > > > Signed-off-by: Cornelia Huck > > --- > > arch/s390/kvm/Kconfig

Re: [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Gleb Natapov
On Thu, Feb 28, 2013 at 11:20:13AM +0100, Cornelia Huck wrote: > Whoops. Doesn't seem to have hurt, though. > > v6 will come up shortly. > Are you going to skip v5? -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majo

Re: [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
On Thu, 28 Feb 2013 12:24:19 +0200 Gleb Natapov wrote: > On Thu, Feb 28, 2013 at 11:20:13AM +0100, Cornelia Huck wrote: > > Whoops. Doesn't seem to have hurt, though. > > > > v6 will come up shortly. > > > Are you going to skip v5? > > -- > Gleb. > I meant v5 (-ENOCOFFE

Re: What cpu for 60-120 vmы?

2013-02-28 Thread Paolo Pedaletti
ciao Vasiliy, Each vm have apache+mysql so huge RAM (for web and db cache) and fast storage (for db) ciao -- Paolo Pedaletti -- 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/

[PATCH v5 1/6] virtio_ccw: pass a cookie value to kvm hypercall

2013-02-28 Thread Cornelia Huck
From: "Michael S. Tsirkin" Lookups by channel/vq pair on host during virtio notifications might be expensive. Interpret hypercall return value as a cookie which host can use to do device lookups for the next notification more efficiently. [CH: Fix line > 80 chars] Tested-by: Christian Borntraeg

[PATCH v5 2/6] KVM: s390: Export virtio-ccw api.

2013-02-28 Thread Cornelia Huck
Export the virtio-ccw api in a header for usage by other code. Signed-off-by: Cornelia Huck --- arch/s390/include/uapi/asm/Kbuild | 1 + arch/s390/include/uapi/asm/virtio-ccw.h | 21 + drivers/s390/kvm/virtio_ccw.c | 5 + 3 files changed, 23 insertions(+

[PATCH v5 3/6] KVM: Initialize irqfd from kvm_init().

2013-02-28 Thread Cornelia Huck
Currently, eventfd introduces module_init/module_exit functions to initialize/cleanup the irqfd workqueue. This only works, however, if no other module_init/module_exit functions are built into the same module. Let's just move the initialization and cleanup to kvm_init and kvm_exit. This way, it i

[PATCH v5 4/6] KVM: Introduce KVM_VIRTIO_CCW_NOTIFY_BUS.

2013-02-28 Thread Cornelia Huck
Add a new bus type for virtio-ccw devices on s390. Signed-off-by: Cornelia Huck --- include/linux/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 3b768ef..206247f 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kv

[PATCH v5 5/6] KVM: ioeventfd for virtio-ccw devices.

2013-02-28 Thread Cornelia Huck
Enhance KVM_IOEVENTFD with a new flag that allows to attach to virtio-ccw devices on s390 via the KVM_VIRTIO_CCW_NOTIFY_BUS. Signed-off-by: Cornelia Huck --- Documentation/virtual/kvm/api.txt | 8 include/uapi/linux/kvm.h | 3 +++ virt/kvm/eventfd.c| 17 ++

[PATCH v5 0/6] kvm: Make ioeventfd usable on s390.

2013-02-28 Thread Cornelia Huck
v5 of the ioeventfd patch set, this time with a proper return code from __diag_virtio_hypercall(), otherwise unchanged. v4 -> v5: - Proper return code in __diag_virtio_hypercall() v3 -> v4: - Pass cookies in virtio-ccw notify hypercall - Coding style v2 -> v3: - Added a patch exporting the virtio-

[PATCH v5 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw notifications. Signed-off-by: Cornelia Huck --- arch/s390/kvm/Kconfig| 1 + arch/s390/kvm/Makefile | 2 +- arch/s390/kvm/diag.c | 26 ++ arch/s390/kvm/kvm-s390.c | 1 + 4 files changed, 29 i

[PATCH v13 0/8] pv event interface between host and guest

2013-02-28 Thread Hu Tao
This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is one supported event: guest panic. Also, the cpu runstate is preserved during save/load vm and migration. Thus, if vm is panicked during migration, we can still know it by qurin

[PATCH v13 2/8] start vm after resetting it

2013-02-28 Thread Hu Tao
From: Wen Congyang The guest should run after resetting it, but it does not run if its old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. We don't set runstate to RUN_STATE_PAUSED when resetting the guest, so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED

[PATCH v13 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED

2013-02-28 Thread Hu Tao
The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang Signed-off-by: Hu Tao --- migration.c | 1 + qapi-schema.json | 6 +- qmp.c| 3 ++- vl.c | 11 ++- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/migrati

[PATCH v13 3/8] update kernel headers

2013-02-28 Thread Hu Tao
update kernel headers to add pv event macros. Signed-off-by: Wen Congyang Signed-off-by: Hu Tao --- linux-headers/asm-x86/kvm_para.h | 1 + linux-headers/linux/kvm_para.h | 6 ++ 2 files changed, 7 insertions(+) diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_pa

[PATCH v13 7/8] allower the user to disable pv event support

2013-02-28 Thread Hu Tao
Signed-off-by: Wen Congyang Signed-off-by: Hu Tao --- hw/pc_piix.c| 9 - qemu-options.hx | 3 ++- vl.c| 4 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 24a9bf3..82a421a 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c

[PATCH v13 5/8] add a new qevent: QEVENT_GUEST_PANICKED

2013-02-28 Thread Hu Tao
This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang --- include/monitor/monitor.h | 1 + monitor.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/monitor/monitor.h b/include/monitor/monitor.h index 87fb49c..4006905 100644 --- a/include

[PATCH v13 1/8] save/load cpu runstate

2013-02-28 Thread Hu Tao
This patch enables preservation of cpu runstate during save/load vm. So when a vm is restored from snapshot, the cpu runstate is restored, too. See following example: # save two vms: one is running, the other is paused (qemu) info status VM status: running (qemu) savevm running (qemu) stop (qemu)

[PATCH v13 8/8] pv event: add document to describe the usage

2013-02-28 Thread Hu Tao
Signed-off-by: Hu Tao --- docs/pv-event.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 docs/pv-event.txt diff --git a/docs/pv-event.txt b/docs/pv-event.txt new file mode 100644 index 000..ac9e7fa --- /dev/null +++ b/docs/pv-event.txt @@ -0,0 +1,17 @@ +KVM PV

[PATCH v13 6/8] introduce a new qom device to deal with panicked event

2013-02-28 Thread Hu Tao
If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's value. The possible actions are: 1. emit QEVEN

[PATCH v13] kvm: notify host when the guest is panicked

2013-02-28 Thread Hu Tao
We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the guest is panicked. If management app does not do auto dump, the guest's user can do dump by hand

Re: [PATCH] kvm-unit-test: more documentation and runner script

2013-02-28 Thread Lucas Meneghel Rodrigues
On 02/28/2013 06:51 AM, Gleb Natapov wrote: On Thu, Feb 28, 2013 at 11:45:33AM +0200, Michael S. Tsirkin wrote: On Thu, Feb 28, 2013 at 11:06:20AM +0200, Gleb Natapov wrote: On Wed, Feb 27, 2013 at 11:40:37PM +0200, Michael S. Tsirkin wrote: On Wed, Feb 27, 2013 at 06:03:41PM -0300, Lucas Mene

Re: [PATCH v5 0/6] kvm: Make ioeventfd usable on s390.

2013-02-28 Thread Michael S. Tsirkin
On Thu, Feb 28, 2013 at 12:33:15PM +0100, Cornelia Huck wrote: > v5 of the ioeventfd patch set, this time with a proper return code > from __diag_virtio_hypercall(), otherwise unchanged. > > v4 -> v5: > - Proper return code in __diag_virtio_hypercall() > v3 -> v4: > - Pass cookies in virtio-ccw no

Re: [PATCH v13 2/8] start vm after resetting it

2013-02-28 Thread Jan Kiszka
On 2013-02-28 13:13, Hu Tao wrote: > From: Wen Congyang > > The guest should run after resetting it, but it does not run if its > old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. > > We don't set runstate to RUN_STATE_PAUSED when resetting the guest, > so the runstate will be changed f

virtio PCI on KVM without IO BARs

2013-02-28 Thread Michael S. Tsirkin
OK we talked about this a while ago, here's a summary and some proposals: At the moment, virtio PCI uses IO BARs for all accesses. The reason for IO use is the cost of different VM exit types of transactions and their emulation on KVM on x86 (it would be trivial to use memory BARs on non x86 platf

Re: virtio PCI on KVM without IO BARs

2013-02-28 Thread Jan Kiszka
On 2013-02-28 16:24, Michael S. Tsirkin wrote: > Another problem with PIO is support for physical virtio devices, > and nested virt: KVM currently programs all PIO accesses > to cause vm exit, so using this device in a VM will be slow. Not answering your question, but support for programming direc

Re: [PATCH 2/7] Added ONE_REG interface for debug instruction

2013-02-28 Thread Scott Wood
On 02/27/2013 10:13:11 PM, Bharat Bhushan wrote: diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 8b553c0..a41cd6d 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -1448,6 +1448,12 @@ int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_o

Re: [PATCH 6/7] Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER

2013-02-28 Thread Scott Wood
On 02/27/2013 10:13:15 PM, Bharat Bhushan wrote: Instruction emulation return EMULATE_DO_PAPR when it requires exit to userspace on book3s. Similar return is required for booke. EMULATE_DO_PAPR reads out to be confusing so it is renamed to EMULATE_EXIT_USER. Signed-off-by: Bharat Bhushan --- a

Re: [PATCH 6/7] Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER

2013-02-28 Thread Alexander Graf
On 28.02.2013, at 17:31, Scott Wood wrote: > On 02/27/2013 10:13:15 PM, Bharat Bhushan wrote: >> Instruction emulation return EMULATE_DO_PAPR when it requires >> exit to userspace on book3s. Similar return is required >> for booke. EMULATE_DO_PAPR reads out to be confusing so it is >> renamed to

Re: [PATCH 2/7] Added ONE_REG interface for debug instruction

2013-02-28 Thread Alexander Graf
On 28.02.2013, at 17:23, Scott Wood wrote: > On 02/27/2013 10:13:11 PM, Bharat Bhushan wrote: >> diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c >> index 8b553c0..a41cd6d 100644 >> --- a/arch/powerpc/kvm/booke.c >> +++ b/arch/powerpc/kvm/booke.c >> @@ -1448,6 +1448,12 @@ int kvm_

Re: [PATCH 6/7] Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER

2013-02-28 Thread Scott Wood
On 02/28/2013 10:51:10 AM, Alexander Graf wrote: On 28.02.2013, at 17:31, Scott Wood wrote: > On 02/27/2013 10:13:15 PM, Bharat Bhushan wrote: >> Instruction emulation return EMULATE_DO_PAPR when it requires >> exit to userspace on book3s. Similar return is required >> for booke. EMULATE_DO_PAP

Re: [PATCH v13 1/8] save/load cpu runstate

2013-02-28 Thread Eric Blake
On 02/28/2013 05:13 AM, Hu Tao wrote: > This patch enables preservation of cpu runstate during save/load vm. > So when a vm is restored from snapshot, the cpu runstate is restored, > too. What happens if a management app wants to override the runstate when restoring the domain? I can think of sev

RE: [PATCH 2/7] Added ONE_REG interface for debug instruction

2013-02-28 Thread Bhushan Bharat-R65777
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc- > ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Thursday, February 28, 2013 10:22 PM > To: Wood Scott-B07421 > Cc: Bhushan Bharat-R65777; kvm-...@vger.kernel.org; kvm@vger.kernel.org; > Bhushan Bharat

[Bug 54061] guest panic after live migration

2013-02-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=54061 Jay Ren changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 54061] guest panic after live migration

2013-02-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=54061 Jay Ren changed: What|Removed |Added Status|RESOLVED|VERIFIED -- Configure bugmail: https://bug

[Bug 54061] guest panic after live migration

2013-02-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=54061 Jay Ren changed: What|Removed |Added Status|VERIFIED|CLOSED -- Configure bugmail: https://bugzi

Re: [PATCH v13 1/8] save/load cpu runstate

2013-02-28 Thread Hu Tao
On Thu, Feb 28, 2013 at 02:12:37PM -0700, Eric Blake wrote: > On 02/28/2013 05:13 AM, Hu Tao wrote: > > This patch enables preservation of cpu runstate during save/load vm. > > So when a vm is restored from snapshot, the cpu runstate is restored, > > too. > > What happens if a management app wants