[libvirt] [PATCH v6 3/3] qemu: Automatically create NVRAM store
Ján Tomko
jtomko at redhat.com
Tue Sep 9 15:17:24 UTC 2014
On 09/01/2014 05:22 PM, Michal Privoznik wrote:
> When using split UEFI image, it may come handy if libvirt manages per
> domain _VARS file automatically. While the _CODE file is RO and can be
> shared among multiple domains, you certainly don't want to do that on
> the _VARS file. This latter one needs to be per domain. So at the
> domain startup process, if it's determined that domain needs _VARS
> file it's copied from this master _VARS file. The location of the
> master file is configurable in qemu.conf.
>
> Temporary, on per domain basis the location of master NVRAM file can
> be overridden by this @template attribute I'm inventing to the
> <nvram/> element. All it does is holding path to the master NVRAM file
> from which local copy is created. If that's the case, the map in
> qemu.conf is not consulted.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> Acked-by: Laszlo Ersek <lersek at redhat.com>
> ---
> docs/formatdomain.html.in | 11 +-
> docs/schemas/domaincommon.rng | 9 +-
> libvirt.spec.in | 2 +
> src/Makefile.am | 1 +
> src/conf/domain_conf.c | 11 +-
> src/conf/domain_conf.h | 1 +
> src/qemu/libvirtd_qemu.aug | 3 +
> src/qemu/qemu.conf | 14 +++
> src/qemu/qemu_conf.c | 94 ++++++++++++++
> src/qemu/qemu_conf.h | 5 +
> src/qemu/qemu_process.c | 137 +++++++++++++++++++++
> src/qemu/test_libvirtd_qemu.aug.in | 3 +
> tests/domainschemadata/domain-bios-nvram-empty.xml | 40 ++++++
> 13 files changed, 325 insertions(+), 6 deletions(-)
> create mode 100644 tests/domainschemadata/domain-bios-nvram-empty.xml
>
ACK
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140909/0d9ec2cf/attachment-0001.sig>
More information about the libvir-list
mailing list