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

[libvirt] <seclabel> inside a //disk/source element



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


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