[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1312668] [NEW] x86 cpu nx feature: guest reboots after
From: |
svkh |
Subject: |
[Qemu-devel] [Bug 1312668] [NEW] x86 cpu nx feature: guest reboots after migrate exec |
Date: |
Fri, 25 Apr 2014 11:11:53 -0000 |
Public bug reported:
Using instruction on
http://www.linux-kvm.org/page/Migration
I save VM state to external file and try load it, but VM starts, shows saved
screen and reboots immediatly.
Cmdline for vm state saving:
$ sudo ./i386-softmmu/qemu-system-i386 -machine accel=kvm,kernel_irqchip=on
-enable-kvm -m 512 -hda image.raw -vga std -net none -M pc -monitor stdio
-cpu SandyBridge
(or -cpu "n270" , or "kvm32,+sse2,+pae,+nx")
Monitor cmd:
(qemu) stop
(qemu) migrate_set_speed 4095m
(qemu) migrate "exec:gzip -c > STATEFILE.gz"
(qemu) q
Cmdline for vm state loading:
$ sudo ./i386-softmmu/qemu-system-i386 -machine accel=kvm,kernel_irqchip=on
-enable-kvm -m 512 -hda image.raw -vga std -net none -M pc -monitor stdio
-cpu SandyBridge -incoming "exec: gzip -c -d STATEFILE.gz"
(or -cpu "n270" , or "kvm32,+sse2,+pae,+nx")
If I do the same without NX cpu feature (-cpu option "n270,-nx" /
"SandyBridge,-nx" / "kvm32,+pae,+sse2") or on qemu-system-x86_64, VM
save/load works correctly.
Log kvm-all.c, DEBUG_KVM=y:
QEMU 2.0.0 monitor - type 'help' for more information
(qemu) kvm_init_vcpu
...handle_io.../...handle_mmio...
kvm_cpu_exec()
shutdown
kvm_cpu_exec()
interrupt exit requested
io window exit
kvm_cpu_exec()
Host:
$ lsb_release -rd
Description: Ubuntu 12.04.4 LTS
Release: 12.04
$ uname -a
Linux <username> 3.8.0-38-generic #56~precise1 SMP Tue Apr 22 12:46:44 MSK
2014 x86_64 x86_64 x86_64 GNU/Linux
Guest:
1. Ubuntu 12.04 32bit
2. WIndows 8 32bit
Qemu: v2.0.0
commit a9e8aeb3755bccb7b51174adcf4a3fc427e0d147
Author: Peter Maydell <address@hidden>
Date: Thu Apr 17 13:41:45 2014 +0100
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1312668
Title:
x86 cpu nx feature: guest reboots after migrate exec
Status in QEMU:
New
Bug description:
Using instruction on
http://www.linux-kvm.org/page/Migration
I save VM state to external file and try load it, but VM starts, shows saved
screen and reboots immediatly.
Cmdline for vm state saving:
$ sudo ./i386-softmmu/qemu-system-i386 -machine accel=kvm,kernel_irqchip=on
-enable-kvm -m 512 -hda image.raw -vga std -net none -M pc -monitor stdio
-cpu SandyBridge
(or -cpu "n270" , or "kvm32,+sse2,+pae,+nx")
Monitor cmd:
(qemu) stop
(qemu) migrate_set_speed 4095m
(qemu) migrate "exec:gzip -c > STATEFILE.gz"
(qemu) q
Cmdline for vm state loading:
$ sudo ./i386-softmmu/qemu-system-i386 -machine accel=kvm,kernel_irqchip=on
-enable-kvm -m 512 -hda image.raw -vga std -net none -M pc -monitor stdio
-cpu SandyBridge -incoming "exec: gzip -c -d STATEFILE.gz"
(or -cpu "n270" , or "kvm32,+sse2,+pae,+nx")
If I do the same without NX cpu feature (-cpu option "n270,-nx" /
"SandyBridge,-nx" / "kvm32,+pae,+sse2") or on qemu-system-x86_64, VM
save/load works correctly.
Log kvm-all.c, DEBUG_KVM=y:
QEMU 2.0.0 monitor - type 'help' for more information
(qemu) kvm_init_vcpu
...handle_io.../...handle_mmio...
kvm_cpu_exec()
shutdown
kvm_cpu_exec()
interrupt exit requested
io window exit
kvm_cpu_exec()
Host:
$ lsb_release -rd
Description: Ubuntu 12.04.4 LTS
Release: 12.04
$ uname -a
Linux <username> 3.8.0-38-generic #56~precise1 SMP Tue Apr 22 12:46:44 MSK
2014 x86_64 x86_64 x86_64 GNU/Linux
Guest:
1. Ubuntu 12.04 32bit
2. WIndows 8 32bit
Qemu: v2.0.0
commit a9e8aeb3755bccb7b51174adcf4a3fc427e0d147
Author: Peter Maydell <address@hidden>
Date: Thu Apr 17 13:41:45 2014 +0100
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312668/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |