xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 2] pci passthrough: support "managed" pci device in xend for libvirt usage
@ 2013-01-17  5:29 cyliu
  2013-01-17  5:29 ` [PATCH 1 of 2] pci passtrough: add xm pci-assignable-add/remove commands cyliu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: cyliu @ 2013-01-17  5:29 UTC (permalink / raw)
  To: xen-devel; +Cc: cyliu

One of our customers requests parallel pci passthrough functionality between xen
(xend and libxl) and kvm, including support managed host pci devices. A 
"managed" pci device will be made assignable before vm start  and reattach to 
its original dirver after vm shut off.

Currently, libvirt supports "managed=yes/no" options in pci device definition.
Qemu driver already supports managed pci devices, libxl driver will add that
support in libvirt source code. For xend driver, since it's stateful, libvirt
can't do much things because libvirt doesn't store much informtion and most
work is done by calling xend directly. Even "managed" option won't be stored if
xend doesn't support it. For that reason, this patch series tries to add code in
xend toolstack to support managed pci devices first, then libvirt can call xend
operations directly to support "managed" host pci devices. 

Syntax for managed pci device could be:
pci=['0000:00:1a.0,managed=1']

Please share your comments. Thanks!

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-01-21 11:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17  5:29 [PATCH 0 of 2] pci passthrough: support "managed" pci device in xend for libvirt usage cyliu
2013-01-17  5:29 ` [PATCH 1 of 2] pci passtrough: add xm pci-assignable-add/remove commands cyliu
2013-01-17  5:29 ` [PATCH 2 of 2] pci passthrough: handle managed pci devices cyliu
2013-01-17 18:00 ` [PATCH 0 of 2] pci passthrough: support "managed" pci device in xend for libvirt usage George Dunlap
2013-01-17 19:12   ` Jim Fehlig
2013-01-18 13:39     ` George Dunlap
2013-01-21  4:50       ` Jim Fehlig
2013-01-21 11:40         ` George Dunlap
2013-01-18 15:48   ` Konrad Rzeszutek Wilk
2013-01-18 16:16     ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).