WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] pci hotplug in xcp

To: 'Ritu kaur' <ritu.kaur.us@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] pci hotplug in xcp
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Tue, 6 Apr 2010 20:10:22 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Tue, 06 Apr 2010 12:12:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <v2p29b32d341004061003ze657beeep69f1a278f3d374b8@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <v2p29b32d341004061003ze657beeep69f1a278f3d374b8@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrVqyhqR0lan9V6QSixlP9GBZS/YQAEU2ow
Thread-topic: [Xen-devel] pci hotplug in xcp

Hi,

 

Currently the only way to hotplug is via the ‘xenops’ commandline tool. Try:

 

# /opt/xensource/debug/xenops plug_pci –domid .. –pci .. –devid 0

And similarly for unplug_pci

 

Cheers,

Dave

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ritu kaur
Sent: 06 April 2010 18:04
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] pci hotplug in xcp

 

Hello!!!

Does pci hotplug work with pci passthrough in xcp? Currently, I have 2 VMs and do the following to transfer pci device from one domU to another

1. shutdown vm1
2. shutdown vm2
2. in dom0, xe vm-param-set uuid=<vm1-uuid> other-config:pci=""
3. in dom0, xe vm-param-set uuid=<vm2-uuid> other-config:pci=<pci-dev>
4. start vm1
5. start vm2

I want to avoid VM shutdown/start. is there a way to hot unplug from vm1 and hot plug into vm2 in xcp?

Thanks

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel