xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Roger Pau Monne <roger.pau@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH v8 00/15] execute hotplug scripts from libxl
Date: Tue, 10 Jul 2012 18:23:52 +0100	[thread overview]
Message-ID: <4FFC6528.9000008@citrix.com> (raw)
In-Reply-To: <1341939462.8586.74.camel@hastur.hellion.org.uk>

Ian Campbell wrote:
> On Tue, 2012-07-10 at 12:07 -0400, Roger Pau Monne wrote:
> 
>> I'm working on making vfb/vkb async, once that is done I can take a look
>> on this,
> 
> Cool. BTW is the other stuff ready? I guess it is waiting on IanJ to
> review again?

I've changed the series according to your comments, and I'm waiting for
IanJ review. I also have NetBSD hotplug & vfb/vkb series ready, that
will come after this is committed. If you want I can start posting them,
I didn't do so yet because they depend a lot on this.

>>  but since the device removal is done after Qemu has been killed
>> I don't have much expectations that this is going to work (at least for
>> the shutdown/destroy case).
> 
> Right, that's an interesting problem. I wonder if qemu should set state
> = 5 (or 6?) for all its backends as it does a graceful shutdown?

Sorry, what I've said is not accurate. Qemu sets state to "closed" on
shutdown/destroy, what doesn't seem to work is the disconnection by
setting online to 0 or status to 5 while Qemu is running.

Maybe we should not call libxl_device_disk_add/remove when the backend
is Qemu for cdrom_insert and instead perform the params remove/addition
that you exposed before directly on cdrom_insert.

>> The block-attach/detach case might work with this approach.
> 
> Might be good for that case.

  reply	other threads:[~2012-07-10 17:23 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 11:59 [PATCH v8 00/15] execute hotplug scripts from libxl Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 01/15] libxl: change ao_device_remove to ao_device Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 02/15] libxl: move device model creation prototypes Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 03/15] libxl: convert libxl_domain_destroy to an async op Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 04/15] libxl: move bootloader data strucutres and prototypes Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 05/15] libxl: refactor disk addition to take a helper Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 06/15] libxl: convert libxl__device_disk_local_attach to an async op Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 07/15] libxl: rename vifs to nics Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 08/15] libxl: convert libxl_device_disk_add to an async op Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 09/15] libxl: convert libxl_device_nic_add to an async operation Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 10/15] libxl: add option to choose who executes hotplug scripts Roger Pau Monne
2012-07-06 10:28   ` Ian Campbell
2012-07-10  9:20     ` Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 11/15] libxl: rename _IOEMU nic type to VIF_IOEMU Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 12/15] libxl: set correct nic type depending on the guest Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 13/15] libxl: use libxl__xs_path_cleanup on device_destroy Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 14/15] libxl: call hotplug scripts for disk devices from libxl Roger Pau Monne
2012-07-04 11:59 ` [PATCH v8 15/15] libxl: call hotplug scripts for nic " Roger Pau Monne
2012-07-08 18:32 ` [PATCH v8 00/15] execute hotplug scripts " Ian Campbell
2012-07-08 18:41   ` Ian Campbell
2012-07-10 11:31   ` Roger Pau Monne
2012-07-10 15:55     ` Ian Campbell
2012-07-10 16:07       ` Roger Pau Monne
2012-07-10 16:57         ` Ian Campbell
2012-07-10 17:23           ` Roger Pau Monne [this message]
2012-07-10 17:30             ` Ian Campbell
2012-07-10 17:39               ` Roger Pau Monne
2012-07-10 17:40             ` Ian Campbell
2012-07-11  9:08               ` Roger Pau Monne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FFC6528.9000008@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).