Bug 1467274 - Failed to install guest os from passthrough USB device
Failed to install guest os from passthrough USB device
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
7.4
ppc64le Linux
medium Severity medium
: rc
: ---
Assigned To: David Gibson
Xujun Ma
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-03 05:55 EDT by Yongxue Hong
Modified: 2017-07-26 21:39 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Yongxue Hong 2017-07-03 05:55:42 EDT
Description of problem:
Failed to install guest os from passthrough USB device

Version-Release number of selected component (if applicable):
Host kernel: kernel-3.10.0-689.el7.ppc64le
qemu: qemu-kvm-rhev-2.9.0-14.el7.ppc64le
SLOF: SLOF-20170303-4.git66d250e.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.Prepare a bootable usb stick on host.
On host:
 dd if=/root/test_home/yhong/iso/RHEL-7.4-20170621.0-Server-ppc64le-dvd1.iso of=/dev/sde bs=100M oflag=direct or dd if=/root/test_home/yhong/iso/boot.iso of=/dev/sde bs=100M oflag=direct

2.Boot guest with the passthrough USB stick assigned
eg:
[root@ibm-p8-kvm-02-qe command]# lsusb
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2

[root@ibm-p8-kvm-02-qe image]# cat ../command/qemu-kvm-rhev-rhel7-42216.sh
/usr/libexec/qemu-kvm \
-name "rhel-7.4-42216" \
-m 8G \
-nodefaults \
-smp 4 \
-boot menu=on,order=cd \
-device VGA,id=vga0 \
-device nec-usb-xhci,id=xhci \
-device usb-tablet,id=usb-tablet0 \
-device usb-kbd,id=usb-kbd0 \
-chardev socket,id=qmp_id_qmpmonitor,path=/var/tmp/monitor-qmpmonitor0,server,nowait \
-mon chardev=qmp_id_qmpmonitor,mode=control  \
-chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/monitor-catch_monitor0,server,nowait \
-mon chardev=qmp_id_catch_monitor,mode=control  \
-chardev socket,id=serial_id_serial,path=/var/tmp/serial-serial0,server,nowait \
-device spapr-vty,reg=0x30000000,chardev=serial_id_serial \
-device virtio-scsi-pci,id=scsi-pci-0 \
-drive file=/root/test_home/yhong/image/rhel-7_4-42216-20G.qcow2,format=qcow2,if=none,cache=none,media=disk,werror=stop,rerror=stop,id=drive-0 \
-device scsi-hd,bus=scsi-pci-0.0,id=scsi-hd-0,drive=drive-0,channel=0,scsi-id=0,lun=1 \
-netdev tap,id=hostnet0,script=/etc/qemu-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=40:f2:e9:5d:9c:03 \
-device nec-usb-xhci,id=controller \
-device usb-host,hostbus=2,hostaddr=2,id=host-usbstick,bus=controller.0,bootindex=0 \
-serial unix:./sock0,server,nowait \
-qmp tcp:0:3000,server,nowait \
-monitor stdio \
-vnc :10

3.Select boot from the passthrough USB device in guest

4.Install guest os from this passthrough USB stick.

Actual results:
Failed to install guest os.

Expected results:
Install guest successfully.

Additional info:
It is not reproduced on x86.

Note You need to log in before you can comment on or make changes to this bug.