Hit send too soon... a couple more observations.

On 01/23/2012 05:12 PM, Laine Stump wrote:
(Note that even with *no new XML*, we already have a problem where just
scanning all the <hostdev> entries won't tell us about all host devices
that are currently assigned exclusively to guests - using a network
device via macvtap in passthrough mode is effectively the same (although
it's not directly exposed to the guest as the original PCI device, that
device isn't available for use by any other guest, or by the host)).

FWIW, that's also true with <disk device="lun">.

Step 2
------

Once the basic functionality is in place, a further step would be one
just to simplify the admins job - we could do this by replacing this
config:

| <source>
| <address bus='x' slot='y' function='z'/>
| </source>

with:

| <source>
| <address netdev='eth22'/>
| </source>

<devices>
<interface type='hostdev'>
<source dev='eth22'/>
<address type='pci' .../>

(NB: the <address type='pci'.../> you show here is used to configure the
address on the guest, not on the host)

Yes, of course, as it's outside <source>. That could have been made clearer. :)

Paolo

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to