After I start a virtual machine(VM) in the virtual machine manager and click the "Open" button I get this error : <br />
"Viewer Connection to the hypervisor host got refused or disconnected"<br />
<br />
But now, if I try to view the GUI of the VM running the virt-manager command line, the I can connect to it without any problem.<br />
Also, if I try tiger vnc viewer or vinagre now to connect to the already started virtual machine , the job is done !<br />
<br />
Details of the my virtual machine is as follows :<br />
--------------------------------------------------------------------------<br />
<br />
<!--<br />
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE<br />
OVERWRITTEN AND LOST. Changes to this xml configuration should be made <br />
using: virsh edit server1.example.com or other application using the <br />
libvirt API.<br />
--><br />
<br />
<domain type='kvm'><br />
<name>server1.example.com</name><br />
<uuid>ca13796e-5917-bff4-b4ca-1203f660cbb2</uuid><br />
<memory unit='KiB'>1048576</memory><br />
<currentMemory unit='KiB'>1048576</currentMemory><br />
<vcpu placement='static'>1</vcpu><br />
<os><br />
<type arch='x86_64' machine='CentOS'>hvm</type><br />
<boot dev='hd'/><br />
</os><br />
<features><br />
<acpi/><br />
<apic/><br />
<pae/><br />
</features><br />
<clock offset='utc'/><br />
<on_poweroff>destroy</on_poweroff><br />
<on_reboot>restart</on_reboot><br />
<on_crash>restart</on_crash><br />
<devices><br />
<emulator>/usr/libexec/qemu-kvm</emulator><br />
<disk type='file' device='disk'><br />
<driver name='qemu' type='raw' cache='none'/><br />
<source file='/var/lib/libvirt/images/server1.example.com.img'/><br />
<target dev='hda' bus='ide'/><br />
<address type='drive' controller='0' bus='0' target='0' unit='0'/><br />
</disk><br />
<disk type='block' device='cdrom'><br />
<driver name='qemu' type='raw'/><br />
<target dev='hdc' bus='ide'/><br />
<readonly/><br />
<address type='drive' controller='0' bus='1' target='0' unit='0'/><br />
</disk><br />
<controller type='usb' index='0'><br />
</controller><br />
<controller type='ide' index='0'><br />
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' <br />
function='0x1'/><br />
</controller><br />
<interface type='network'><br />
<mac address='52:54:00:e1:ba:1e'/><br />
<source network='default'/><br />
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' <br />
function='0x0'/><br />
</interface><br />
<serial type='pty'><br />
<target port='0'/><br />
</serial><br />
<console type='pty'><br />
<target type='serial' port='0'/><br />
</console><br />
<input type='mouse' bus='ps2'/><br />
<graphics type='vnc' port='5901' autoport='no' listen='127.0.0.1'><br />
<listen type='address' address='127.0.0.1'/><br />
</graphics><br />
<br />
--------------------------------------------------------------------------<br />
<br />
The Versions of my virtualization packages are as follows :<br />
<br />
libvirt.x86_64 0.10.2-18.el6 <br />
libvirt-client.x86_64 0.10.2-18.el6 <br />
libvirt-python.x86_64 0.10.2-18.el6 <br />
python-virtinst.noarch 0.600.0-15.el6 virt-manager.x86_64 0.9.0-18.el6 <br />
virt-viewer.x86_64 0.5.2-18.el6 <br />
virt-what.x86_64 1.11-1.2.el6 <br />
<br />
-------------------------------------------------------------------------------
↧