[Libvirt-cim] [PATCH] Store and preserve keymap attribute for graphics device
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed Nov 5 19:35:59 UTC 2008
Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1225900807 28800
> # Node ID 20af5ae5b01c308d2cfab62899b2dbcb8d186567
> # Parent 29c875cab8b808655c04d2f971c0d6c9a9f03dbd
> Store and preserve keymap attribute for graphics device
>
> This prevents us from discarding the keymap setting when we redefine a domain.
>
DefineSystem() doesn't check to see if the guest already exists. In
create_system(), before calling get_reference_domain(), there should be
such a check. If the domain exists, we should get the domain struct and
then update the struct accordingly.
Otherwise, we drop the existing graphics device settings.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list