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).

Regards

El 02/04/2013 05:29, "高松" <song.gao@venusource.com> escribió:
<domain type='kvm'>
<name>eucalyptus-windows</name>
<os>
<type>hvm</type>
<boot dev='cdrom'/>
</os>
<features>
<acpi/>
</features>
<memory>524288</memory>
<vcpu>1</vcpu>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file'>
<source file='/root/windows.server_2003_sp2.img'/>
<target dev='hda'/>
</disk>
<disk type='file' device='disk'>
<source file='/root/secondary.img'/>
<target dev='vda' bus='virtio'/>
</disk>
<disk type='file' device='floppy'>
<source file='/root/floppy.img'/>
<target dev='fda'/>
</disk>
<disk type='file' device='cdrom'>
<source file='/root/windows_server_2003_sp2.iso'/>
<target dev='hdc'/>
<readonly/>
</disk>
<interface type='bridge'>
<source bridge='eucabr899'/>
<model type='rtl8139'/>
</interface>
<!--<interface type='bridge'>
<source bridge='br0'/>
<model type='virtio'/>
</interface> -->
<graphics type='vnc' port='-1' listen='0.0.0.0' passwd='123456'/>
</devices>
</domain>
=========================================================
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
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users