On Friday 16 September 2011 03:52:34 hkran wrote: [snip] > > I have tried many times with many restarts or shutdown-and-boot xp guest > but failed to meet the crashing. > (I am using the virtio drivers referenced in the earlier mail list.) > my command: > > /home/huikai/qemu15/bin/qemu --enable-kvm -m 768 -drive > file=/home/huikai/winxp_dev.img,if=virtio -net nic,model=virtio -net > user -usb -usbdevice tablet -localtime -vga qxl -device virtio-serial > -chardev spicevmc,name=vdagent,id=vdagent -device > virtserialport,chardev=vdagent,name=spice0 -spice > port=1234,disable-ticketing -monitor telnet:localhost:12341,server,nowait
Okay, I tried a variation of that: qemu-system-x86_64 -cpu host -enable-kvm -m 1536 -pidfile /home/rick/qemu/hds/wxp.pid -drive file=/home/rick/qemu/hds/wxp.raw,if=virtio -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=spice0 -spice port=1234,disable-ticketing -monitor telnet:localhost:12341,server,nowait And it's been running stable all day. The differences between the command line that crashes and yours are: - yours doesn't have "aio=native" in the -drive declaration. - yours has some differences in the virtio-serial device declaration. - yours has some differences in the virtserialport device declaration. As time permits I'm going to try each of those differences individually. Thanks, -Rick