标签:shutdown 内存 dem virt shu 状态 inf OLE code
virsh list --all
virsh dominfo vm_name
virsh-top
virsh-df vm_name
virsh attach-disk vm_name /dev/sdb vdb --driver qemu --mode shareable
virsh detach-disk vm_name vdb
virsh shutdown vm_name
virsh setmem vm_name
或者:
virsh edit vm_name
virsh create /etc/libvirt/demu/kvn_name/xml
virsh edit vm_name
virsh create /etc/libvirt/demu/kvn_name/xml
1. virsh shutdown vm_name
2. virsh destroy vm_name
3. virsh undefine vm_name
virsh save vm_name /tmp/vm_name.bin
virsh restore /tmp/vm_name.bin
virsh domblklist vm_name
virsh attach-interface vm_name bridge bridge_name
virsh detach-interface vm_name bridge --mac {mac}
virsh -shutdown vm_name
virsh start vm_name
virsh autostart vm_name
virsh autostart --disable vm_name
virsh undefine vm_name
virsh console vm_name
标签:shutdown 内存 dem virt shu 状态 inf OLE code
原文地址:https://www.cnblogs.com/lemanlai/p/12235283.html