Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-15 Thread Gerd Hoffmann
Hi, > That's true for the default case, but for the pseries machine, there is > already code that changes the boot path for virtual usb-storage devices, > see the function spapr_get_fw_dev_path() : > > ... else if (usb) { > /* > * We use SRP luns of the form 010

Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-14 Thread Thomas Huth
On 14.12.2016 10:36, Gerd Hoffmann wrote: > Hi, > in the /chosen/qemu,boot-list property. SLOF, however, probes the USB device, recognizes that it is a storage device and thus changes its name to "storage", and additionally adds a child node for the SCSI LUN, so the correct b

Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-14 Thread Gerd Hoffmann
Hi, > >> in the /chosen/qemu,boot-list property. SLOF, however, probes the > >> USB device, recognizes that it is a storage device and thus changes > >> its name to "storage", and additionally adds a child node for the > >> SCSI LUN, so the correct boot path in SLOF is something like > >> "/pci@

Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-13 Thread David Gibson
On Tue, Dec 13, 2016 at 01:44:36PM +0100, Thomas Huth wrote: > When passing through a USB storage device to a pseries guest, it > is currently not possible to automatically boot from the device > if the "bootindex" property has been specified, too (e.g. when using > "-device nec-usb-xhci -device us

Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-13 Thread Thomas Huth
On 13.12.2016 14:52, Gerd Hoffmann wrote: > On Di, 2016-12-13 at 13:44 +0100, Thomas Huth wrote: >> When passing through a USB storage device to a pseries guest, it >> is currently not possible to automatically boot from the device >> if the "bootindex" property has been specified, too (e.g. when u

Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-13 Thread Gerd Hoffmann
On Di, 2016-12-13 at 13:44 +0100, Thomas Huth wrote: > When passing through a USB storage device to a pseries guest, it > is currently not possible to automatically boot from the device > if the "bootindex" property has been specified, too (e.g. when using > "-device nec-usb-xhci -device usb-host,h

[Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-13 Thread Thomas Huth
When passing through a USB storage device to a pseries guest, it is currently not possible to automatically boot from the device if the "bootindex" property has been specified, too (e.g. when using "-device nec-usb-xhci -device usb-host,hostbus=1,hostaddr=2,bootindex=0" at the command line). The pr