Internal error, emulation failure when trying to boot Win7 install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When trying to boot a Windows 7 install from a local virtual disks, qemu stops 
with the messages:

KVM internal error. Suberror: 1
emulation failure

I've started qemu with libvirt. This is the output from libvirt's logfile:

2014-01-07 18:22:10.988+0000: starting up
LC_ALL=C 
PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin 
HOME=/ USER=root QEMU_AUDIO_DRV=spice /usr/bin/qemu-kvm -name 
win7_master,process=qemu:win7_master -S -machine pc-
i440fx-1.7,accel=kvm,usb=off -m 4096 -realtime mlock=off -smp 
4,sockets=4,cores=1,threads=1 -uuid 0d640aa9-a88c-164b-398c-14186445d2a8 -no-
user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/win7_master.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-
shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
ahci,id=ahci0,bus=pci.0,addr=0x7 -device virtio-serial-pci,id=virtio-
serial0,bus=pci.0,addr=0x5 -drive file=/virtual_disks/systemrescuecd-
x86-3.8.1.iso,if=none,id=drive-ide0-0-1,readonly=on,format=raw,cache=none -
device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -drive 
file=/virtual_disks/win7_master.img,if=none,id=drive-
sata0-0-0,format=qcow2,cache=none -device ide-hd,bus=ahci0.0,drive=drive-
sata0-0-0,id=sata0-0-0,bootindex=1 -netdev tap,fd=22,id=hostnet0 -device 
e1000,netdev=hostnet0,id=net0,mac=52:54:00:e1:63:d3,bus=pci.0,addr=0x3 -
chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -
chardev spicevmc,id=charchannel0,name=vdagent -device 
virtserialport,bus=virtio-
serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -
device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-
ticketing,seamless-migration=on -k de -device VGA,id=video0,bus=pci.0,addr=0x2 
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-
codec0,bus=sound0.0,cad=0 -device virtio-balloon-
pci,id=balloon0,bus=pci.0,addr=0x6
char device redirected to /dev/pts/3 (label charserial0)
((null):14946): SpiceWorker-Warning **: 
red_worker.c:11477:dev_destroy_primary_surface: double destroy of primary 
surface
((null):14946): SpiceWorker-Warning **: red_worker.c:9663:red_create_surface: 
condition `surface->context.canvas' reached
main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 0.137000 ms, bitrate 9799043062 
bps (9345.095694 Mbps)
red_dispatcher_set_cursor_peer: 
inputs_connect: inputs channel client create
KVM internal error. Suberror: 1
emulation failure
EAX=00000200 EBX=0000aa55 ECX=00000007 EDX=00000080
ESI=00007bd0 EDI=00000800 EBP=000007be ESP=00007be0
EIP=00000684 EFL=00003202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 ffffffff 00809300
CS =0000 00000000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =0000 00000000 ffffffff 00809300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     000f69e0 00000037
IDT=     00000000 000003ff
CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 
DR3=0000000000000000 
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=7c 68 01 00 68 10 00 b4 42 8a 56 00 8b f4 cd 13 9f 83 c4 10 <9e> eb 14 b8 
01 02 bb 00 7c 8a 56 00 8a 76 01 8a 4e 02 8a 6e 03 cd 13 66 61 73 1c fe 4e 11
qemu: terminating on signal 15 from pid 3795
2014-01-07 18:22:15.777+0000: shutting down

This happened with qemu 1.5 and 1.7. The linux kernel in use is 3.10.25-gentoo 
The host CPU looks like this in lscpu:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 26
Stepping:              5
CPU MHz:               1600.000
BogoMIPS:              5345.33
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7

The Windows install in question is an image that has been pulled from a 
working Windows 7 install (on a physical machine).

	Guido
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux