On 02/15/2011 06:47 AM, Osier Yang wrote: > qemu command line to specify "vram": > -global qxl.vram_size=uint > > + if (def->videos[0]->type == VIR_DOMAIN_VIDEO_TYPE_QXL) { > + if (def->videos[0]->vram && > + (qemuCmdFlags & QEMUD_CMD_FLAG_GLOBAL)) { > + virCommandAddArgFormat(cmd, "-global > qxl.vram_size=%u", > + def->videos[0]->vram); > + }
Ouch - this needs to be two arguments: "-global", "qxl.vram_size=%u". > + > + if (def->videos[0]->heads > 0) { > + for (i = 0; i < def->videos[0]->heads - 1; i++) { > + virCommandAddArgFormat(cmd, "-device > %s,id=qxl-%d", vgastr, i+1); Likewise. I'm preparing a patch (having just hit the issue when trying to start a guest with a qxl graphics device). -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list