[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] How to halt PCI passthrough? (vm-param-set other-config:pci=...)




Hi Rob,

Thanks much for the reply.   Following what I think that you suggested, I issued the following xe command:

xe vm-param-set other-config:pci  uuid=<uuid>

Upon rebooting my VM, all pci passthrough had been removed, just has I had hoped.  Yippee!

But just to confirm, is the format of the above command (including the "other-config:pci" bit, without an "=" sign) what you had in mind?  Or is there some better format that I should be using to reset the passthrough of all pci devices?

Also, with regard to the "xe vm-param-remove" command that you mentioned, I tried that, but got error messages no matter what I put behind it.  I searched with Google for more documentation on that command, but couldn't find much.  Would you mind including an example of the full form that the "xe vm-param-remove" command should take?

Thanks much for the help!

Best regards,
GizmoChicken



On Fri, Mar 15, 2013 at 7:56 AM, Rob Hoes <Rob.Hoes@xxxxxxxxxx> wrote:

Hi,

 

The only way is to just remove the other-config:pci parameter from the VM (xe vm-param-remove to remove the pci key entirely, or xe vm-param-set to change the value of the key), shut it down, and start it again. The VM will then not get the PCI device passed through to it anymore. You can then give the PCI device to another VM.

 

Hotplug of PCI devices has not (yet) been implemented in XCP.

 

Cheers,

Rob

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Gizmo Chicken
Sent: 07 March 2013 10:26 PM
To: xen-api@xxxxxxxxxxxxx; xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] How to halt PCI passthrough? (vm-param-set other-config:pci=…)

 

I successfully activated PCI passthrough to multiple devices using xe command taking the following form:

xe vm-param-set other-config:pci=0/<pci-id#>,1/<pci-id#>,2/<pci-id#>  uuid=<uuid>


Now I want halt PCI passthrough to the <uuid> VM, either while the <uuid> VM is running or upon its reboot.  (Though halting while running would be great, halting upon reboot would be fine too.)

Can PCI be halted using a xe command?  If so, what command?  Or is there a config file, created as a result of the original "xe vm-param-set other-config:pci=.." command, that can be edited to remove one of more PCI devices?

Thanks for any help with this!

GizmoChicken


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.