Hello all. Again I find myself beating my head into a wall and feel the need to express my pain. I decided to dive into QEMU and get a virtual machine running. Everything went well at first with base qemu and libvirt. I could run a VM like so...
Code:
qemu-system-i386 -hda ~/qemu/win7.qcow
Wonderful! Now lets get that big'ole virt-manager running. After crawling through slackbuilds.org I got my hands on the following packages:
Code:
gnome-python2-gconf-2.28.1-i486-1_SBo.tgz
tunctl-1.5-i486-2_SBo.tgz
urlgrabber-3.10-i486-1_SBo.tgz
ipaddr-py-2.1.10-i486-1_SBo.tgz
celt051-0.5.1.3-i486-1_SBo.tgz
spice-protocol-0.12.7-noarch-1_SBo.tgz
pyparsing-2.0.3-i486-1_SBo.tgz
spice-0.12.5-i486-1_SBo.tgz
orc-0.4.23-i486-1_SBo.tgz
gstreamer1-1.4.5-i486-1_SBo.tgz
gst1-plugins-base-1.4.5-i486-1_SBo.tgz
vala-0.26.2-i486-1_SBo.tgz
spice-gtk-0.28-i486-1_SBo.tgz
gtk-vnc-0.5.4-i486-1_SBo.tgz
libvirt-glib-0.2.3-i486-1_SBo.tgz
pygobject3-3.10.2-i486-2_SBo.tgz
vte3-0.36.5-i486-1_SBo.tgz
libvirt-python-1.2.21-i486-1_SBo.tgz
libosinfo-0.2.11-i486-1_SBo.tgz
virt-manager-1.2.1-i486-1_SBo.tgz
So far so good. I was able to build all the necessary packages. So I fire up virt-manager and to my amazement it opened up. Could this be true! Is it really going to work?! I begin to configure a new machine and finally I see my first error.
Code:
Unable to complete install:
'unsupported configuration: spice graphics not supported with this version of QEMU'
hahaha! I knew it couldn't be that easy. So I uninstall the qemu.sbo.tgz i have, and edit qemu.SlackBuild to include --enable-spice. Reran the script, reinstalled the new sbo.gz. New error.
Code:
Unable to complete install:
'unsupported configuration: usb redirect not supported with this version of QEMU'
Another mod to the .SlackBuild script to include --enable-usb-redir. Reran the script, removed old, installed new.
Now....when I create a new machine in virt-manager it installs without error. But when the console opens up a gray screen shows nothing but
Code:
Error connecting to graphical console:
USB redirection support not compiled in
Wait didn't I just compile usb-redir into qemu? So close yet so far away. I look back to the qemu slackbuild README (yeah maybe i shoulda read that first). It tells me to run the script with LIBUSB=yes ./qemu.SlackBuild. Well I'm game. Lets try it. Remove old, install new, Same noise. Hang on maybe I'll try it without usb-redir but libusb=yes. Remove old, install new, Same noise. Eh? No matter which way I slice it I cant get around this usb-redir noise.
Anyone know what I'm doing wrong? Or does anyone have a suggestion as to which way I should go next. I'm giving up for the moment because I've been at it for hours. I'm going to drink some whiskey, play some video games, and catch a nap. I'll report back if I have any breakthroughs or bright ideas. I expect to try recompiling virt-manager at some point but my brain is nearly toast at the moment. Time for a drink.