On 07/18/12 23:40, Daniel P. Berrange wrote:
On Thu, Jul 12, 2012 at 11:30:56AM +0200, Peter Krempa wrote:
> Libvirt adds a USB controller to the guest even if the user does not
> specify any in the XML. This is due to back-compat reasons.
>
> To allow disabling USB for a guest this patch adds a new USB controller
> type "none" that disables USB support for the guest.
> ---
> docs/schemas/domaincommon.rng | 1 +
> src/conf/domain_conf.c | 55 ++++++++++++++++++++++++++++++++++++++++-
> src/conf/domain_conf.h | 1 +
> src/qemu/qemu_command.c | 3 +-
> 4 files changed, 58 insertions(+), 2 deletions(-)
Missing addition to docs/formatdomain.html.in
I squashed the following docs into my repo:
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index b6e0d5d..5b39c77 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1839,8 +1839,10 @@
A "usb" controller has an optional attribute
<code>model</code>,
which is one of "piix3-uhci", "piix4-uhci", "ehci",
"ich9-ehci1", "ich9-uhci1", "ich9-uhci2",
"ich9-uhci3",
- "vt82c686b-uhci", "pci-ohci" or "nec-xhci". The
PowerPC64
- "spapr-vio" addresses do not have an associated controller.
+ "vt82c686b-uhci", "pci-ohci" or "nec-xhci".
Additionally,
+ <span class="since">since 0.9.14</span>, if the USB bus needs
to be
+ explicitly disabled for the guest, <code>model='none'</code>
may be used.
+ The PowerPC64 "spapr-vio" addresses do not have an associated
controller.
</p>