Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-02-03 Thread Eric Blake
[adding Markus] On 2/3/20 4:13 AM, Daniel P. Berrangé wrote: On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: On 1/31/20 4:38 AM, Peter Luo wrote: error: internal error: cannot parse json {"execute": "block-commit", "arguments": { "device": "drive-virtio-disk2", "job-id": "job100",

Re: USB devices with same vendor:product id

2020-02-03 Thread Pol Van Aubel
Quoting Ján Tomko (2020-02-03 14:45:38) > There has been a proposal (or two?) for addressing USB hostdevs by bus/port > https://bugzilla.redhat.com/show_bug.cgi?id=1497984 > Sadly it never landed upstream. Regarding that patch, as I mentioned in another reply, *USB* bus numbers on Linux aren't sta

Re: USB devices with same vendor:product id

2020-02-03 Thread Maxime Accadia
Thank you for your answers and pointing to the relevant feature request. Hopefully, we will see some progress with the new assignee. We will try the script solution until then. Maxime - Mail original - De: "Pol Van Aubel" À: "MAXIME ACCADIA" , "libvirt-users" Cc: "ovidiu gacea" Envo

Re: USB devices with same vendor:product id

2020-02-03 Thread Pol Van Aubel
Hi Maxime, Quoting Maxime Accadia (2020-02-03 14:20:47) > Hi, > > We have a VM with several USB devices attached. Everything works well, > but sometimes, after a reboot of the host, some usb device get a > different bus/device number and that prevent the reboot of the VM : > ... > Any idea on how

Re: USB devices with same vendor:product id

2020-02-03 Thread Ján Tomko
On Mon, Feb 03, 2020 at 02:20:47PM +0100, Maxime Accadia wrote: Hi, We have a VM with several USB devices attached. Everything works well, but sometimes, after a reboot of the host, some usb device get a different bus/device number and that prevent the reboot of the VM : --- error: Failed

USB devices with same vendor:product id

2020-02-03 Thread Maxime Accadia
Hi, We have a VM with several USB devices attached. Everything works well, but sometimes, after a reboot of the host, some usb device get a different bus/device number and that prevent the reboot of the VM : --- error: Failed to start domain xxx error: internal error: Did not find USB devic

Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-02-03 Thread Daniel P . Berrangé
On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: > On 1/31/20 4:38 AM, Peter Luo wrote: > > > error: internal error: cannot parse json {"execute": "block-commit", > > "arguments": { "device": "drive-virtio-disk2", "job-id": "job100", > > "base":'json:{"encrypt.key-secret":"vol-38973xj