[libvirt-users] Support for on-demand USB pass through

Felicitus felicitus at felicitus.org
Wed Dec 12 13:17:38 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/12/2012 02:12 PM, Jiri Denemark wrote:

> With libvirt-1.0.0 or newer, you can use startupPolicy='optional'
> for that USB device, as documented at
> http://www.libvirt.org/formatdomain.html#elementsUSB
> 
> However, such device would not be automatically connected when it
> becomes available (which seems to be what you are after according
> to the guide you posted). You'd need to shut the VM down and start
> it up again.

That sounds almost as what I need - however, a VM shutdown and startup
again is not very handy.

Is there any chance to attach the device at runtime to the VM?

Our use case is this:

We've got a VM which has CUPS installed, and any USB printers attached
to the physical box need to be passed through to the VM. Printers are
turned off when not in use, and thus they need to be attached in an
automatic manner to the VM.

Regards
Felicitus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQyIPyAAoJEJYpjrA42x19BvwH/06sScUuPXK0RPEQxbicRpsS
RqYTUfNiu25HVCmFo9076ldLh10FB/RQYsNCqm+FebDOa1BJJwtOOFtwAxdcnPDk
xQUxlaw20YKm+5soUdoCs9+S6xj8XCsS1utiTF6a79j/H6lo/yCdmb5ijaBtwNjj
Ya8QkQd3GoP8b8YAF/ojsuktyzJySNZezymHA8TGZO4aLFhNmo3vF2/5HCiCYuhT
3PStlLoS4ZuU4zvwgr9MCT/OK89+C0P1OVvj4n2B699fUKZMFK5dOuvTkT24c9XS
0slQauK2MDcdBM8e8GiVtUpBxF0NJCi7eGxcej2gTWpk3tpBPmB/1PQvFNvTAGs=
=S3kG
-----END PGP SIGNATURE-----




More information about the libvirt-users mailing list