qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Fw:qemu driver_mirror error "Operation not permitted"


From: lisiheng
Subject: Re: [Qemu-devel] Fw:qemu driver_mirror error "Operation not permitted"
Date: Tue, 26 Jul 2016 09:42:50 +0800 (CST)

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" <address@hidden> 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" <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]