[Libvir] Adding devices to a vm using virsh

Richard W.M. Jones rjones at redhat.com
Mon Apr 21 09:59:27 UTC 2008


On Mon, Apr 21, 2008 at 12:53:50PM +0300, Gabriel Kaufmann wrote:
> I need to be able to attach a PCI device to an existing machine.
> I know that in Xen's configuration file we need to add a line
> PCI=[....]
> The problem is that I didn't find any documentation on what the
> parametes are.
>
> When looking at virsh, there's an 'attach' function, but the only
> documented devices are disk and Ethernet card.
>
> Does anyone knows what is the format for adding a generic PCI card
> (or specifically, a Teradici card) using virsh attach

Unfortunately I'm pretty sure we don't support adding arbitrary
devices (ie. PCI pass-thru).

You should be able to do this by starting the domain using an ordinary
Xen configuration file.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the libvir-list mailing list