From: Ian Jackson Subject: Re: [PATCH v13 01/11] libxl: fix removal of secondary consoles Date: Thu, 26 Jul 2012 16:16:08 +0100 Message-ID: <20497.24376.583662.880002@mariner.uk.xensource.com> References: <1343314522-32298-1-git-send-email-roger.pau@citrix.com> <1343314522-32298-2-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343314522-32298-2-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH v13 01/11] libxl: fix removal of secondary consoles"): > Secondary consoles are processed by libxl with the rest of the > devices by calling libxl__initiate_device_remove that waits for the > device to reach state 6 before procceeding with the removal. > > When libxl is destroying the console devices, Qemu is already dead or > dying, and xenconsoled completely ignores the state backend entry for > console devices, since it performs the cleanup based on the result of > reads/writes to the tty. > > Since we don't want to execute hotplug scripts for consoles, leave the > behaviour as it was previously, and just nuke the backend/frontend > xenstore entries by calling libxl__device_destroy. Acked-by: Ian Jackson