PassthroughPOST / virsh-patcher

Utility to apply common patches to libvirtd domain definitions.
BSD 2-Clause "Simplified" License
54 stars 7 forks source link

Add ability to connect PCI devices to guest (By name/pattern/id?) #7

Open yatakoi opened 3 years ago

yatakoi commented 3 years ago

Hello. Do you plan to implement the ability to add PCI?

I have several cards, but I do not understand how to implement adding a card to the guest system using this example:

  1. Get a list of cards and guests
  2. Check if at least one card has been added to the existing guest system
  3. If a card is added, then ignore this card, otherwise add the card to the guest system

Or at least tell me the code of adding the card in the configuration of the guest. Thank.