[Pkg-libvirt-commits] [libguestfs] 03/21: v2v: -o libvirt: Add readonly=yes to UEFI <loader> attribute (RHBZ#1184690).
Hilko Bengen
bengen at moszumanska.debian.org
Sun Nov 1 17:16:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.29.50
in repository libguestfs.
commit 74e87a970b39864b8f38c9a8b0ddab61b9d9a76e
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Jul 6 12:20:48 2015 +0100
v2v: -o libvirt: Add readonly=yes to UEFI <loader> attribute (RHBZ#1184690).
Thanks: Junqin Zhou for diagnosing the bug and finding the correct
solution. https://bugzilla.redhat.com/show_bug.cgi?id=1184690#c22
This fixes commit 40558450dd87190c9dc2649cadbf284ae0a21606.
---
v2v/output_libvirt.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/output_libvirt.ml b/v2v/output_libvirt.ml
index cc18580..8cff73f 100644
--- a/v2v/output_libvirt.ml
+++ b/v2v/output_libvirt.ml
@@ -119,7 +119,7 @@ let create_libvirt_xml ?pool source target_buses guestcaps
* until that day we have to use a bunch of heuristics. XXX
*)
let code, vars_template = find_uefi_firmware guestcaps.gcaps_arch in
- [ e "loader" ["type", "pflash"] [ PCData code ];
+ [ e "loader" ["readonly", "yes"; "type", "pflash"] [ PCData code ];
e "nvram" ["template", vars_template] [] ] in
(e "type" ["arch", guestcaps.gcaps_arch] [PCData "hvm"]) :: loader in
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list