<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div><br><br><br><br>1.my  configure options is "./configure --with-selinux=no --with-secdriver-selinux=no --with-apparmor=no --with-secdriver-apparmor=no --with-init-script=redhat"</div><div id="isForwardContent"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: arial; font-size: 14px;"><div>because i can not start  spSP3-guest-OS,infos on the internet tell  security-driver should  be disabled. i just test it. so --with-XXXXX=no.</div><div>the second problem is  details of my guest-os.<br>2. /var/log/libvirt/qemu/xpSP3.log.  i do not know libvirtd or qemu-kvm which one can not recognize ceph-rbd?</div><div>--my rbd  disk configuration-----------</div><div style="color: rgb(255, 0, 0);"><disk type='network' device='disk'><br>      <driver name='qemu' type='raw'/><br>      <auth username='!
 cloud'><br>        <secret type='ceph' uuid='7a91dc24-b072-43c4-98fb-4b2415322b0f'/><br>      </auth><br>      <source protocol='rbd' name='cloud/testrbd'><br>        <host name='192.168.10.4' port='6789'/><br>      </source><br>      <target dev='vdb' bus='virtio'/><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/><br>    </disk></div><div>---xpSP3.log----------------  </div><div>LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.2.0 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name xpSP3 -uuid b45bd66a-6700-4905-c5f4-4c799413d7b7 -nodefconfig -nodefaults -chardev socket,id=charmonitor,pa!
 th=/var/lib/libvirt/qemu/xpSP3.monitor,server,nowait -mon char!
 dev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/xpSP3.img,if=none,id=drive-ide0-0-0,format=raw,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=rbd:cloud/testrbd:id=cloud:key=AQCGbGRQ+M+NGBAATtylZNiSxqCTQ4uaApd+9w==:auth_supported=cephx none:mon_host=192.168.10.4\:6789,if=none,id=drive-ide0-0-1,format=raw -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -netdev tap,fd=26,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:2a:8c:48,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -vga std -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5<br>Domain id=2 is tainted: high!
 -privileges<br>char device redirected to /dev/pts/4<span style="color: rgb(255, 0, 0);"><br>qemu-kvm: -drive file=rbd:cloud/testrbd:id=cloud:key=AQCGbGRQ+M+NGBAATtylZNiSxqCTQ4uaApd+9w==:auth_supported=cephx none:mon_host=192.168.10.4\:6789,if=none,id=drive-ide0-0-1,format=raw: could not open disk image rbd:cloud/testrbd:id=cloud:key=AQCGbGRQ+M+NGBAATtylZNiSxqCTQ4uaApd+9w==:auth_supported=cephx none:mon_host=192.168.10.4\:6789: No such file or directory<br></span><br><br></div><div></div><div></div><div></div><pre><br>At 2012-10-11 05:11:58,"Eric Blake" <<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>> wrote:
>On 10/10/2012 04:04 AM, yue wrote:
>> error occur when  attach a rbd-disk to domain.
>>  
>> 1.configure: error: You must install the AppArmor development package in order to compile libvirt
>
>What command line did you pass to configure?  AppArmor is optional (and
>in fact, Fedora does not use it); so this message should only be
>triggered if you passed an explicit --with-apparmor or
>--with-secdriver-apparmor to configure, in which case, yes, then you
>need the apparmor devel package.
>
>> 2.
>> 2012-10-10 17:36:16.305+0000: 3808: warning : qemuDomainObjTaint:1297 : Domain id=2 name='xpSP3' uuid=b45bd66a-6700-4905-c5f4-4c799413d7b7 is tainted: high-privileges
>> 2012-10-10 17:36:16.712+0000: 3808: error : qemuMonitorOpenUnix:266 : failed to connect to monitor socket: No such process
>
>This usually means that qemu failed to start; can you check the log file
>for that guest (perhaps /var/log/libvirt/qemu/xpSP3.log) to see if there
>are more details why?
>
>-- 
>Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    +1-919-301-3266
>Libvirt virtualization library http://libvirt.org
>
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>