Hi there.

I suggest to use the GUI (virt-manager) to create your first VM, and once the installation ends (since you want to boot from an .iso image) then reuse this XML file (virsh edit VM_NAME).


El 02/04/2013 05:29, "高松" <song.gao@venusource.com> escribió:
<domain type='kvm'>
<boot dev='cdrom'/>
<disk type='file'>
<source file='/root/windows.server_2003_sp2.img'/>
<target dev='hda'/>
<disk type='file' device='disk'>
<source file='/root/secondary.img'/>
<target dev='vda' bus='virtio'/>
<disk type='file' device='floppy'>
<source file='/root/floppy.img'/>
<target dev='fda'/>
<disk type='file' device='cdrom'>
<source file='/root/windows_server_2003_sp2.iso'/>
<target dev='hdc'/>
<interface type='bridge'>
<source bridge='eucabr899'/>
<model type='rtl8139'/>
<!--<interface type='bridge'>
<source bridge='br0'/>
<model type='virtio'/>
</interface> -->
<graphics type='vnc' port='-1' listen='' passwd='123456'/>
I issue the command of "virsh create libvirt-kvm-windows.xml" to create a vm, and it is

successful.Above is the content,but when I try to connect  to the VM both try vinagre and

virt-manager,what I got is only black screen,I can't understand and please help!

libvirt-users mailing list