1.[root@rhel7 redhat7]# virsh define libvirt.xml
Domain redhat7 defined from libvirt.xml
[root@rhel7 redhat7]# virsh start redhat7
error: Failed to start domain redhat7
error: internal error: early end of file from monitor: possible problem:
Cannot set up guest memory 'pc.ram': Cannot allocate memory
网上没找到办法,把libvirt.xml 的内存和cpu都改小,重新安装虚拟机就好了。