kvm 经常问题

<domain type='kvm'>    <name>yyu</name>    <memory>524288</memory>    <vcpu>1</vcpu>    <os>        <type>hvm</type>        <loader>/usr/lib/xen/boot/hvmloader</loader>        <boot dev='cdrom'/>        <boot dev='hd'/>    </os>    <features>        <acpi/>        <apic/>        <pae/>    </features>    <clock offset='utc'/>    <on_poweroff>destroy</on_poweroff>    <on_reboot>restart</on_reboot>    <on_crash>destroy</on_crash>    <devices>    <emulator>/usr/libexec/qemu-kvm</emulator>     <disk type='file' device='disk'>            <driver name='qemu' type='qcow2'/>            <source file='/home/yu/image/yy001.img'/>            <target dev='hda' bus='ide'/>    </disk>        <interface type='bridge'>            <source bridge='br0'/>            <mac address='00:16:3e:5d:c4:21'/>            <target dev='5dc421'/>            <model type='netfront'/>        </interface>    <input type='tablet' bus='usb'/>        <graphics type='vnc' port='-1' autoport='yes' passwd='netbank' listen='0.0.0.0'/>    </devices></domain>

 

1.
libvir: QEMU error : internal error process exited while connecting to monitor: qemu-kvm: -device netfront,netdev=hostnet0,id=net0,mac=00:16:3e:5d:c4:21,bus=pci.0,addr=0x3: Parameter 'driver' expects a driver name
Try with argument '?' for a list.

 

2.

 

KVM Unable to read from monitor:Connection reset by peer

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值