[libvirt] [PATCH 0/2] enhance capabilities mode hostdev process

Jincheng Miao jmiao at redhat.com
Thu Jun 19 09:45:11 UTC 2014


hostdev has mode "capabilities" for LXC, from formatdomain.html:
"
Block / character devices from the host can be passed through to
the guest using the hostdev element.
This is only possible with container based virtualization.
since after 1.0.1 for LXC
"
So forbid capabilities mode hostdev if domain is not LXC.

The related bug is:
https://bugzilla.redhat.com/show_bug.cgi?id=1111044

Jincheng Miao (2):
  conf: only accept capabilities mode hostdev in LXC.
  docs: fix some typos in formatdomain.html

 docs/formatdomain.html.in |  4 ++--
 src/conf/domain_conf.c    | 10 ++++++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list