<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! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130402/85bd3805/attachment.htm>
Javi Legido
2013-Apr-02 06:01 UTC
[libvirt-users] problem in view vm created by virsh create
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 at 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 at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130402/0ad51fce/attachment.htm>