On Wed, Mar 19, 2014 at 12:49:06AM -0500, Serge Hallyn wrote: > Quoting Eric Blake (ebl...@redhat.com): > > On 03/18/2014 03:59 PM, Serge Hallyn wrote: > > > Hi, > > > > > > In order to migrate a VM from an older system with qemu-kvm to a newer > > > one with qemu, the newer qemu needs to be told to use the same vga > > > ram size as qemu-kvm used, 8M. > > > > > > virsh domxml-from-native suggests that the way to specify a > > > 8mb cirrus vga ram size would be to add > > > > > > <qemu:commandline> > > > <qemu:arg value='-global'/> > > > <qemu:arg value='cirrus-vga.vgamem_mb=8'/> > > > </qemu:commandline> > > > > This points out a weakness in our code - <qemu:commandline> is > > intentionally unsupported, which means our XML needs an actual parameter > > for this, rather than forcing you back to qemu:commandline. Or maybe we > > already have the parameter, in which case the bug is in the > > tbh I originally expected <model type='cirrus' vram='8192'> to work, > but it seemed to be ignored.
Yes, that ought to work but it is possible we only ever plumbed it in for QXL, since historically you couldn't change ram for other drivers. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list