[Spice-devel] cannot boot from virtio / no -qxl option

Frédéric Grelot fredericg_99 at yahoo.fr
Sun May 23 16:59:55 PDT 2010


Hi List & Gerd,

Your driver (the rpm that appeared on the repository) doesn't want to work...
One first thing : the underscore of its name makes it be refused by xorg (due to its way of finding drivers .so file from name, it tries to load "qxlunstable_drv.so" instead of "qxl_unstable_drv.so"
Still, I'm trying to build it myself, and noticed that the difference with the rpm was the file 
/usr/share/hwdata/videoaliases/qxl_unstable.xinf
I modified it to "qxl", rebuilt/reinstalled the driver from the url you gave me few days ago, but the driver doesn't load... When I don't force it with system-config-display (and the appropriate created xorg.conf), the default VESA loads... When I force it, I get in Xorg.0.log :
[  1502.332] (II) LoadModule: "qxl"
[  1502.333] (II) Loading /usr/lib64/xorg/modules/drivers/qxl_drv.so
[  1502.333] (II) Module qxl: vendor="X.Org Foundation"
[  1502.333] 	compiled for 1.8.0, module version = 0.0.0
[  1502.333] 	Module class: X.Org Video Driver
[  1502.333] 	ABI class: X.Org Video Driver, version 7.0
[  1502.333] (II) qxl: Driver for QXL virtual graphics: QXL 1
[  1502.333] (--) using VT number 8

[  1502.389] (II) Primary Device is: PCI 00 at 00:02:0
[  1502.389] (EE) No devices detected.

I even tried to force the BusID in xorg.conf, to no success...
Here is my qemu command-line, if it may help (generated by libvirt...) :
/usr/bin/qemu-spice -spice port=5930,disable-ticketing -S -M pc-0.13 -enable-kvm -m 4096 -smp 1,sockets=1,cores=1,threads=1 -name spice-test-f13 -uuid 7a56343e-f36a-a729-da43-d087f6189bee -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/spice-test-f13.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive file=/raid/iso_images/Fedora-13-Beta-x86_64-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/sync/vms/spice-f13-boot.qcow2.img,if=none,id=drive-ide0-0-0,format=qcow2 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/sync/vms/spice-test-f13.qcow2.img,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:00:11:72,bus=pci.0,addr=0x5 -net tap,fd=50,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:3 -vga qxl -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3

By the way, I made winxp and win7 work with spice without much trouble, but is it normal that there is no "special" device anymore? I remember installing two specific drivers "miniport" and "vdi_port", then vdagent... with the version I run now, there is no unknown devices (in config panel), and vdagent doesn't work...

Thanks in advance, 

Frederic.

----- Mail original -----
> Hi,
> 
> > About the qxl driver in F13, it definitely won't build...
> 
> It builds fine, needs some xorg devel packages though, try 'yum
> install xorg-x11-server-sdk'.
> 
> /me tries to roll up a rpm with it ...
> 
> cheers,
> Gerd


More information about the Spice-devel mailing list