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] How to switch VGA passthrough live

On Fri, 4 Jun 2010, 于佳耕 wrote:
> 
> Hi,
> 
> I want to switch video card live between two HVMs. My simplest idea is that 
> when the HVM has the permission to access
> passthrough video card, and another HVM will be paused. If switch from A to 
> B, execute commands :
> 
> xm pause A ;
> 
> xm pci-detach A  00:00:02.0 ;
> 
> xm pci-attach B 00:00:02.0 ;
> 
> xm unpause B.
> 
>  
> 
> I have a try, but failed. The pseudo-code is as below. Can you give me some 
> ideas? Any suggestions will be thankful.
> 

pci-detach needs cooperation from the guest, how the guest is supposed
to handle the acpi interrupt if it is paused?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel