wiki:TipAndDoc/VM/virt-manager

Version 3 (modified by mitty, 13 years ago) (diff)

--

virt-manager

  • (XenPPC) virt-manager/virsh connection errors - fixed

    virt-manager:

    Unable to open connection to hypervisor URI 'xen':

    virtsh:

    virsh: error: failed to connect to the hypervisor

    After debugging a bit the problem looks pretty trivial - libvirt tries to access

     /var/lib/xend/xend-socket
    

    The default config of xend as it is currently in the repostitory seems to have the config in /etc/xen/xend-config.sxp default to no and commented out:

     #(xend-unix-server no)
    

    change this to

     (xend-unix-server yes)
    

install

  • $ sudo aptitude install -R virt-manager

use virt-manager with Windows

  • need X Window System for Windows and X11forwarding
  1. use Cygwin-X
  2. X11forwarding with PuTTY
  3. type virt-manager

connecting local VMM

  1. virt-manager main window
  2. File > Add Connection...
  3. press [Connect]
  4. connected to localhost
  5. only double click to connect

create new VM

  • Press [New] icon
  1. 1/5 set VM name and install source
  2. 2/5 set OS type
  3. 3/5 set Memory and CPUs
  4. 4/5 set Storage
  5. 5/5 summary
    • Advanced options(Network device, MAC address, etc)

Attachments (15)

Download all attachments as: .zip