Re: [libvirt] [PATCH v2 1/2] util: virhostdev: disallow assigning a pci-bridge to a guest

2017-01-23 Thread Laine Stump
On 01/23/2017 11:34 AM, Martin Kletzander wrote: On Mon, Jan 23, 2017 at 07:06:29PM +0530, Shivaprasad G Bhat wrote: Non-endpoint devices like pci-bridges cannot be passedthrough to guests. "disallow" is a mouthful, I would also use "assigned" instead of "passedthrough". Correct -

Re: [libvirt] [PATCH v2 1/2] util: virhostdev: disallow assigning a pci-bridge to a guest

2017-01-23 Thread Martin Kletzander
On Mon, Jan 23, 2017 at 07:06:29PM +0530, Shivaprasad G Bhat wrote: Non-endpoint devices like pci-bridges cannot be passedthrough to guests. "disallow" is a mouthful, I would also use "assigned" instead of "passedthrough". Prevent such attempts. Signed-off-by: Shivaprasad G Bhat

[libvirt] [PATCH v2 1/2] util: virhostdev: disallow assigning a pci-bridge to a guest

2017-01-23 Thread Shivaprasad G Bhat
Non-endpoint devices like pci-bridges cannot be passedthrough to guests. Prevent such attempts. Signed-off-by: Shivaprasad G Bhat --- src/util/virhostdev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/util/virhostdev.c b/src/util/virhostdev.c