[fedora-virt] windows xp guest and iphone

Daniel Sanabria sanabria.d at gmail.com
Wed Feb 10 23:10:06 UTC 2010


Nevertheless, I'd still like to share what I'm getting in
/var/log/libvirt/qemu/ when connecting the phone to my qemu host and then
starting the guest ...

Starting the guest without the phone connected to the host:

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
/usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid
88b53573-a3c1-3e12-8703 -monitor
unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c
-drive
file=/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw
-drive file=/home/daniel/Downloads/Adobe CS4 Design
Premium/adobe_CS4_design_premium.iso,if=ide,media=cdrom,index=2 -net
nic,macaddr=52xxxxxx,vlan=0,name=nic.0 -net tap,fd=20,vlan=0,name=tap.0
-serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:1 -k en-gb
-vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice
host:05ac:1294
char device redirected to /dev/pts/2
Warning: could not add USB device host:05ac:1294
Warning: could not add USB device host:05ac:1294

Starting the guest with the phone connected:

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
/usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid
88b53573-a3c1-3e12-8703-ea3fc8580493 -monitor
unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c
-drive
file=/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw
-drive file=/home/daniel/Downloads/Adobe CS4 Design
Premium/adobe_CS4_design_premium.iso,if=ide,media=cdrom,index=2 -net
nic,macaddr=52:54:00:62:66:ed,vlan=0,name=nic.0 -net
tap,fd=20,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice
tablet -vnc 127.0.0.1:1 -k en-gb -vga cirrus -soundhw es1370 -usbdevice
host:05ac:1294 -usbdevice host:05ac:1294
char device redirected to /dev/pts/2
husb: open device 1.6
/dev/bus/usb/001/006: Permission denied
Warning: could not add USB device host:05ac:1294
husb: open device 1.6
/dev/bus/usb/001/006: Permission denied
Warning: could not add USB device host:05ac:1294

So it looks to me like qemu/kvm tries to interact with the fs/phone but is
facing a file permission problem?

[daniel at bigblackbox ~]$ ls -l /dev/bus/usb/001/006
crw-rw-r--+ 1 root root 189, 5 2010-02-10 22:38 /dev/bus/usb/001/006

[daniel at bigblackbox ~]$ mount
/dev/mapper/vg_bigblackbox-LogVol_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/md0 on /boot type ext4 (rw)
/dev/md2 on /home type ext4 (rw)
/dev/mapper/vg_bigblackbox-LogVol_opt on /opt type ext4 (rw)
/dev/mapper/vg_bigblackbox-LogVol_tmp on /tmp type ext4 (rw)
/dev/mapper/vg_bigblackbox-LogVol_var on /var type ext4 (rw)
/dev/mapper/virtvg-virtlv on /var/lib/libvirt type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /home/daniel/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=daniel)
[daniel at bigblackbox ~]$

Any suggestions about what the permission errors are indicating?

Cheers,

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/virt/attachments/20100210/119e9d85/attachment.html 


More information about the virt mailing list