<seclabel> inside a //disk/source element

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to the docs, it should be possible to do:

 <disk device="disk" type="file">
   <source file="/path/to/some/file">
      <seclabel relabel="no"/>           <---- NB
   </source>
   <target dev="sda" bus="scsi"/>
   <driver name="qemu" type="qcow2"/>
 </disk>

However I tried it, and it simply doesn't work.  Furthermore I looked
at the code in domain_conf.c, and I can't see how it's even supposed
to work.  It doesn't look to me as if <seclabel> is ever parsed in
that context.

Can anyone else confirm that this is a bug or point out my error?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]