diff --git a/lib/launch-libvirt.c b/lib/launch-libvirt.c index fb8e70656..30fe49528 100644 --- a/lib/launch-libvirt.c +++ b/lib/launch-libvirt.c @@ -1238,6 +1238,7 @@ construct_libvirt_xml_seclabel (guestfs_h *g, /* This disables SELinux/sVirt confinement. */ start_element ("seclabel") { attribute ("type", "none"); + attribute ("model", "selinux"); } end_element (); } else if (params->data->selinux_label) {