[Spice-devel] Unknown vga type: qxl

liang.liang12 at zte.com.cn liang.liang12 at zte.com.cn
Thu Dec 16 19:42:04 PST 2010


Hi, 

I found when running spiced QEMU with "-vga qxl" option, it complains 
unknown vga type. My question is: is there any special patch needed to 
support "-vga qxl" option? If no, how to support this?
BTW: I remove "-vga qxl" when running qemu, it starts up successfully. But 
I'm not sure whether QXL driver is used in this scenario.....?
__________________________
test2010-2-7:/opt/spice/qemu # ./x86_64-softmmu/qemu-system-x86_64 -drive 
file=/home/vm/qemu.img,if=ide -soundhw ac97 -L pc-bios -nographic -spice 
port=15050,disable-ticketing -usbdevice tablet -enable-kvm -m 512 -vga qxl 
-cdrom /home/huxc/suse11.2_x86_64.iso -boot d
Unknown vga type: qxl

test2010-2-7:/opt/spice/qemu # ./x86_64-softmmu/qemu-system-x86_64  --help 
|grep vga
-vga [std|cirrus|vmware|xenfb|none]
__________________________

Also I checked the spiced QEMU code, there is also no corresponding qxl 
driver information. 
_______________________________
Vl.c
static struct {
    const char *driver;
    int *flag;
} default_list[] = {
    { .driver = "isa-serial",           .flag = &default_serial    },
    { .driver = "isa-parallel",         .flag = &default_parallel  },
    { .driver = "isa-fdc",              .flag = &default_floppy    },
    { .driver = "ide-drive",            .flag = &default_cdrom     },
    { .driver = "virtio-serial-pci",    .flag = &default_virtcon   },
    { .driver = "virtio-serial-s390",   .flag = &default_virtcon   },
    { .driver = "virtio-serial",        .flag = &default_virtcon   },
    { .driver = "VGA",                  .flag = &default_vga       },
    { .driver = "cirrus-vga",           .flag = &default_vga       },
    { .driver = "vmware-svga",          .flag = &default_vga       },
};
_______________________________ 


Following is my procedure to download and compile spiced QEMU:
__________________________________
I download latest Spiced QEMU code from spice repositories using GIT and 
compile it following the instruction from 
wiki(http://www.spice-space.org/page/Building_Instructions):
http://www.spice-space.org/page/Building_Instructions 
 
cd $SRC_ROOT/qemu
./configure --prefix=$INST_ROOT --target-list=x86_64-softmmu 
--enable-spice
make
__________________________________

Thanks for your suggestions in advance!

Thanks,
Lyon

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20101217/5cd4d4dc/attachment.html>


More information about the Spice-devel mailing list