<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi.</div><div>my environment: centos 6.3, qemu 1.5(source code build), libvirt libvirt-0.10.2-18.el6_4.2.x86_64.selinux enforce .</div><div> i have 2 questions</div><div>1.snapshot. permisson deny.</div><div>dumpxml:</div><div> <seclabel type='dynamic' model='selinux' relabel='yes'><br>    <label>system_u:system_r:svirt_t:s0:c33,c172</label><br>    <imagelabel>system_u:object_r:svirt_image_t:s0:c33,c172</imagelabel><br>  </seclabel></div><div>command line:</div><div>[root@ovirtdev images]# ls -lZ<br>-rw-r--r--. qemu qemu system_u:object_r:virt_image_t:s0 test.qcow2</div><div>image does not have the same MLS?</div><div>it does not seem like a selinux problem, because selinix does not record this deny.</div><div>2.vnet problem</div><div>May 27 09:48:49 ovirtdev NetworkManager[2365]: <warn> /sys/devices/virtual/n!
 et/vnet0: couldn't determine device driver; ignoring...</div><div><br>[root@ovirtdev images]# brctl show<br>bridge name     bridge id               STP enabled     interfaces<br>ovirtmgmt               8000.000c290a2351       no              eth0<br>                                                                             &!
 nbsp;         vnet0</d!
 iv><div>what is the reason? does it matter with libvirt?</div><div> </div><div>thanks<br><br></div><div></div><div id="divNeteaseMailCard"></div><div></div><pre><br>At 2013-05-25 23:41:18,"Kashyap Chamarthy" <kchamart@redhat.com> wrote:
>On 05/25/2013 06:40 PM, yue wrote:
>> May 25 20:50:59 ovirtdev NetworkManager[2370]: <warn> /sys/devices/virtual/net/vnet0:
>> couldn't determine device driver; ignoring...
>> root@ovirtdev <mailto:root@ovirtdev> images]# virsh snapshot-create-as linux snapshot1
>> "snapshot1" --disk-only --atomic
>> error: internal error unable to execute QEMU command 'transaction':
>> /var/lib/libvirt/images/test.snapshot1: error while creating qcow2: Permission denied
>
>A few questions:
>
>1/ What distribution ?
>
>2/ Versions of libvirt, qemu  (some versions?
>
>Please note that, libvirt uses QEMU's 'transaction' command under the hood when the guest
>is 'live'. So, if you're using an older version of QEMU, it might not have "transaction"
>command in it.
>
>3/ Are you using "virsh" independently or are you mangling libvirt commands with oVirt
>environment ? (from your initial post, it appears it's an oVirt node).
>
>
>
>-- 
>/kashyap
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>