On 07.12.2012 22:28, Joanna Rutkowska wrote:
> On 12/07/12 17:08, Abel Luck wrote:
>> Until a usable USBVM is available, I have to do lots of USB controller
>> swapping between VMs. Rebooting the VMs every time I want to move a
>> controller is a big PITA as it completely interrupts my workflow.
>>
>> With Marek's advice, I created these two scripts which can be used to
>> detach and attach a PCI device from a domain while it is running.
>>
>> Scripts:
https://gist.github.com/4233822
>
> Marek, perhaps we can still add those two scripts to core that we will
> release in Beta1?
Perhaps integrate it into qvm-pci (IMHO as non-default option, because it can
break software running in VM if misused)?
But first I want to resolve #684.
> BTW, shouldn't we check for a possible error of the actual pci-attach
> command, something like this:
>
> sudo xl pci-attach $domain $local_dev && echo "mapped $2 to $local_dev"
>
> ?
--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab