problem about virsh-Collection of common programming errors
linux redhat kvm-virtualization certificate virsh
I installed Ovirt and want to add network interface for NAT. So I need to connect to hypervisor by virsh and add nic.Ovirt installed on my local server, host (ovirt-engine.kvmserver.net) is on the same server.I tried to connect in readable mode is ok# virsh -r Welcome to virsh, the virtualization interactive terminal.Type: ‘help’ for help with commands’quit’ to quitvirsh > listId Name State —————————————————-10 CentOS_test
virtual-machines kvm-virtualization libvirt virsh
I would like to add a serial device (console) to a guest via the virsh attach-device command. I have a console.xml file containing:<serial type=”pty”><target port=”0″/> </serial>And I run the following command:sudo virsh attach-device VMNAME console.xmlBut get the following error:error: Failed to attach device from console.xml error: XML error: unknown device typeHere’s my version information:Compiled against library: libvir 0.9.8 Using library: libvir 0.9.8 Using API: QEMU 0.9
Web site is in building
I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money