From: lisiheng <justcaca@126.com>
To: Fam Zheng <famz@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Fw:qemu driver_mirror error "Operation not permitted"
Date: Tue, 26 Jul 2016 09:42:50 +0800 (CST) [thread overview]
Message-ID: <4245b59a.1e86.15624de661f.Coremail.justcaca@126.com> (raw)
In-Reply-To: <20160725115110.GA26510@ad.usersys.redhat.com>
ps -aux | grep qemu<br/>root 6184 20.7 1.7 742476 106584 ? Sl 09:36 0:04 /usr/local/qemu-2.5.0-20160720/bin/qemu-system-x86_64 -name i-745F35DC -S -machine pc-i440fx-2.5,accel=kvm,usb=off -cpu Westmere,+invpcid,+erms,+bmi2,+smep,+avx2,+bmi1,+fsgsbase,+abm,+rdtscp,+pdpe1gb,+rdrand,+f16c,+avx,+osxsave,+xsave,+tsc-deadline,+movbe,+pcid,+pdcm,+xtpr,+fma,+tm2,+est,+vmx,+ds_cpl,+monitor,+dtes64,+pclmuldq,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 64 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 37d3333c-9e0a-41ba-a033-00ad5243a345 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/i-745F35DC.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/tmp/image.raw,if=none,id=drive-ide0-0-0,format=raw,serial=bc-system,cache=none -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=d0:0d:74:5f:35:dc,bus=pci.0,addr=0x3 -vnc 0.0.0.0:0,password -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4<br/><br/><br/>I have modified the configuration of /etc/libvirt/qemu.conf<br/><br/> cat /etc/libvirt/qemu.conf | grep root<br/>user = "root"<br/>group = "root"<br/><br/>and I use gdb debug to get current user is root !
At 2016-07-25 19:51:10, "Fam Zheng" <famz@redhat.com> wrote:
>On Mon, 07/25 19:04, lisiheng wrote:
>> I'm using the same logical device “/dev/vg_bc_local/test” and disabled
>> SELinux!Please review carefully my debugging process!
>
>Then, what is the output of $(ps aux | grep qemu) with libvirt?
>
>> At 2016-07-25 11:14:12, "Fam Zheng" <famz@redhat.com> wrote:
>> >On Fri, 07/22 15:41, lisiheng wrote:
>> >> Hi All,
>> >> I use libvirtd to call qemu drive_mirror return error message "Operation not permitted", Butdirectlyrunqemu and call drive_mirror is OK;
>> >> when drive_mirror target is logic device return error message "Operation not permitted",But the file is OK;
>> >
>> >This may be better asked on libvirt list, but my first reaction would be
>> >checking the file permission bits and SELinux permissions.
>> >
>> >Fam
prev parent reply other threads:[~2016-07-26 1:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-22 7:41 [Qemu-devel] Fw:qemu driver_mirror error "Operation not permitted" lisiheng
2016-07-25 3:14 ` Fam Zheng
2016-07-25 11:04 ` lisiheng
2016-07-25 11:51 ` Fam Zheng
2016-07-26 1:42 ` lisiheng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4245b59a.1e86.15624de661f.Coremail.justcaca@126.com \
--to=justcaca@126.com \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).