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] [VTD][PATCH] Change xc_assign_device()

To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 10 Dec 2007 10:45:57 +0000
Cc: Muli Ben-Yehuda <muli@xxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Han, Weidong" <weidong.han@xxxxxxxxx>
Delivery-date: Mon, 10 Dec 2007 02:46:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071210095233.GK7134@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg7GdhZFzNgXqcNEdykEAAX8io7RQ==
Thread-topic: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
User-agent: Microsoft-Entourage/11.3.6.070618
On 10/12/07 09:52, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:

> On Mon, Dec 10, 2007 at 09:00:49AM +0000, Keir Fraser wrote:
>> Then the whole lot should be done in qemu-dm and it sounds like the error
>> handling needs to be improved.
> 
> Can we figure out a better way for communication between qemu-dm and Xend?
> After creation, qemu-dm is detached from Xend without any tools to notify
> Xend.
> 
> Maybe, Xend can poll the xenstore for qemu-dm device assignment success?

Writing an error node in xenstore would be good. Apart from that, qemu-dm
shutting down the domain should provide notification to Xen that something's
gone wrong. The main problem is that in a command-line environment there's
not really a way to notify the user or administrator. Then again, that's
what GUIs are for (or some other higher-level wrapper over xm and xend --
there are plenty).

 -- Keir



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