I've been following this guide to set up a virtual machines on my xeon (banana) to be run from my laptop (cherry);
here's my complete install process with the few errors I've been getting;
CPU can handle virtualisation;
the guide says;
You must see hvm flags in the output.
Alternatively, you may execute:
kvm-ok
so I assume that missing sys/hypervisor/properties/capabilities does not matter.
everything for KVM is installed;
according to this everything has been installed correctly.
sock appears to have the correct permissions;
/dev/kvm is now in the correct group.
I had to run this with sudo;
I then switch to the client and install virt-manager;
I open the Virtual Machine Manager and add connection;
Hypervisor: QEMU/KVM
Connect to remote host
Method: SSH
Username: rhys
Hostname banana
Everything seems to connect, I then have; banana (QEMU) in the queue, which I right click and select New;
Name: plum
Connection: banana(QEMU/KVM)
Choose how you would like to install the operating system
If I choose Local install media or Network Install and manually type in the location of 13.10 iso, I get;
Error setting install media location.
I've tried putting the iso on the client and the server and referenced them as if it's local. ie /home/rhys/13.10.iso.
Can anyone see where I'm going wrong?
Cheers
here's my complete install process with the few errors I've been getting;
CPU can handle virtualisation;
Code:
rhys@banana:~$ egrep -c '(vmx|svm)' /proc/cpuinfo
8
Code:
rhys@banana:~$ cat /sys/hypervisor/properties/capabilities
cat: /sys/hypervisor/properties/capabilities: No such file or directory
You must see hvm flags in the output.
Alternatively, you may execute:
kvm-ok
so I assume that missing sys/hypervisor/properties/capabilities does not matter.
Code:
rhys@banana:~$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
Code:
rhys@banana:~$ egrep -c ' lm ' /proc/cpuinfo
8
Code:
rhys@banana:~$ uname -m
x86_64
Code:
rhys@banana:~$ sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
bridge-utils is already the newest version.
ubuntu-vm-builder is already the newest version.
libvirt-bin is already the newest version.
qemu-kvm is already the newest version.
Code:
rhys@banana:~$ sudo adduser `id -un` libvirtd
The user `rhys' is already a member of `libvirtd'.
Code:
rhys@banana:~$ virsh -c qemu:///system list
Id Name State
----------------------------------------------------
Code:
rhys@banana:~$ sudo ls -la /var/run/libvirt/libvirt-sock
srwxrwx--- 1 root libvirtd 0 Feb 16 11:59 /var/run/libvirt/libvirt-sock
Code:
rhys@banana:~$ ls -l /dev/kvm
crw-rw---- 1 root kvm 10, 232 Feb 16 12:21 /dev/kvm
rhys@banana:~$ sudo chown root:libvirtd /dev/kvm
rhys@banana:~$ ls -l /dev/kvm
crw-rw---- 1 root libvirtd 10, 232 Feb 16 12:21 /dev/kvm
Code:
rhys@banana:~$ sudo rmmod kvm
sudo modprobe -a kvm
Code:
rhys@cherry:~$ sudo apt-get install virt-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
virt-manager is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Hypervisor: QEMU/KVM
Connect to remote host
Method: SSH
Username: rhys
Hostname banana
Everything seems to connect, I then have; banana (QEMU) in the queue, which I right click and select New;
Name: plum
Connection: banana(QEMU/KVM)
Choose how you would like to install the operating system
If I choose Local install media or Network Install and manually type in the location of 13.10 iso, I get;
Error setting install media location.
I've tried putting the iso on the client and the server and referenced them as if it's local. ie /home/rhys/13.10.iso.
Can anyone see where I'm going wrong?
Cheers