libvirt/src/xen
Pavel Hrdina 81ba2298b2 video: cleanup usage of vram attribute and update documentation
The vram attribute was introduced to set the video memory but it is
usable only for few hypervisors excluding QEMU/KVM and the old XEN
driver. Only in case of QEMU the vram was used for QXL.

This patch updates the documentation to reflect current code in libvirt
and also changes the cases when we will set the default vram attribute.
It also fixes existing strange default value for VGA devices 9MB to 16MB
because the video ram should be rounded to power of two.

The change of default value could affect migrations but I found out that
QEMU always round the video ram to power of two internally so it's safe
to change the default value to the next closest power of two and also
silently correct every domain XML definition. And it's also safe because
we don't pass the value to QEMU.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1076098

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2014-11-24 22:05:55 +01:00
..
block_stats.c Remove unnecessary curly brackets in rest of src/ 2014-11-14 17:13:36 +01:00
block_stats.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_driver.c video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
xen_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
xen_hypervisor.c Remove unnecessary curly brackets in rest of src/ 2014-11-14 17:13:36 +01:00
xen_hypervisor.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_inotify.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
xen_inotify.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
xend_internal.c Remove unnecessary curly brackets in rest of src/ 2014-11-14 17:13:36 +01:00
xend_internal.h Convert Xen domain core dump driver methods to use virDomainDefPtr 2013-05-21 16:11:39 +01:00
xm_internal.c Remove unnecessary curly brackets in rest of src/ 2014-11-14 17:13:36 +01:00
xm_internal.h Convert Xen domain stats/peek driver methods to use virDomainDefPtr 2013-05-21 16:11:39 +01:00
xs_internal.c util: Check return value from virStrToLong* functions 2014-07-21 15:20:59 +02:00
xs_internal.h src/xen: Utilize more of VIR_(APPEND|INSERT|DELETE)_ELEMENT 2014-03-10 13:45:11 +01:00