【求助】ubuntu9.04使用virsh create **.xml出错

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
a11andqq
帖子: 1
注册时间: 2010-06-10 12:05

【求助】ubuntu9.04使用virsh create **.xml出错

#1

帖子 a11andqq » 2010-06-10 12:57

环境ubuntu9.04
虚机管理virt-manager
已安装X-window
使用SSH连接该机器
1.使用dd if=/dev/zero of=CN_windows2003.img bs=1M count=5120命令创建镜像;
2.使用kvm -drive file=windowsOS.img,if=scsi,boot=on -boot d -m 512 -smp 2 -cdrom CN_windows_Server_2003_Standard_X86_With_SP2_Vol.iso命令安装好了相应系统;
3.使用virsh create libvirt.xml命令时出错,系统提示
Connecting to uri: qemu:///system 然后就卡住了,没有死机,就一直呈现这种状态
请问有哪位大大知道或有相关解决办法的,不吝赐教。谢谢~!
附上libvirt.xml中的内容
<domain type='kvm'>

<name>CN_windows2003</name>

<memory>562144</memory>

<currentMemory>562144</currentMemory>

<vcpu>2</vcpu>

<os>

<type machine='pc'>hvm</type>

<boot dev='hd'/>

</os>

<features>

<acpi/>
<apic/>

<pae/>

</features>

<clock offset='utc'/>

<on_poweroff>destroy</on_poweroff>

<on_reboot>restart</on_reboot>

<on_crash>restart</on_crash>

<devices>

<emulator>/usr/bin/kvm</emulator>

<disk type='file' device='disk'>

<source file='/root/CN_windows2003.img'/>

<target dev='sda'/>

</disk>

<interface type='bridge'>

<mac address='54:52:01:28:56:fa'/>

<source bridge='br0'/>

</interface>

<serial type='pty'>

<target port='0'/>

</serial>

<console type='pty'>

<target port='0'/>

</console>

<input type='mouse' bus='ps2'/>

<graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>

</devices>

</domain>
回复