I can not open my software in my windows server 2008 kvm guest.
I can find the process in task manager when I open my software and it disappear after 2 or 3 seconds.
The process will not disappear when I pin the vcpu to a physical cpu, but I still cann't open my sofeware.
I had found 3 softwares work like this case. They all work fine in the physical server.
I had tried windows server 2008, windows server 2003 and windows 7.
I had tried to use host-passthrough, host-model and qemu64 as cpu model.
It this a bug or I uesd in a wrong way?
Qemu version:
# /root/qemu25/qemu/x86_64-softmmu/qemu-system-x86_64 --version
QEMU emulator version 2.5.1.1, Copyright (c) 2003-2008 Fabrice Bellard
My libvirt:
<name>testvm</name>
<os>
<type>hvm</type>
<boot dev='hd'/>
<boot dev='cdrom'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset="localtime"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<vcpu current="1">1</vcpu>
<cpu mode="host-passthrough"/>
<memory>4194304</memory>
<currentMemory>4194304</currentMemory>
<devices>
<emulator>/root/qemu25/qemu/x86_64-softmmu/qemu-system-x86_64</emulator>
<disk device="disk" type="file">
<driver name="qemu" type="qcow2"/>
<source file="/root/vm/disk.qcow2"/>
<target bus="virtio" dev="vda"/>
</disk>
<disk type='file' device='cdrom'>
<source file=''/>
<target dev='hdc' bus='ide'/>
</disk>
<serial type="pty">
<source path="/dev/pts/1"/>
<target port="0"/>
</serial>
<interface type='bridge'>
<mac address='fa:16:3e:81:00:01'/>
<source bridge='virbr0'/>
<model type='virtio'/>
<driver name='qemu'/>
<alias name='net0'/>
</interface>
<channel type='unix'>
<source mode='bind'/>
<target type='virtio' name='org.qemu.guest_agent.0'/>
</channel>
<input type="tablet" bus="usb"/>
<input type="mouse" bus="ps2"/>
<graphics type="vnc" port="-1" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
</devices>
<qemu:commandline>
<qemu:arg value='-machine'/>
<qemu:arg value='smm=off'/>
</qemu:commandline>
</domain>
Thanks,
John