From: Anthony PERARD via <qemu-devel@nongnu.org>
To: John Snow <jsnow@redhat.com>
Cc: <qemu-devel@nongnu.org>, Paul Durrant <paul@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>,
<qemu-block@nongnu.org>
Subject: Re: [PATCH v2] xen: rework pci_piix3_xen_ide_unplug
Date: Wed, 28 Oct 2020 17:19:26 +0000 [thread overview]
Message-ID: <20201028171926.GF2214@perard.uk.xensource.com> (raw)
In-Reply-To: <e7d2fef8-a697-398e-4b3b-bf247aac01a5@redhat.com>
On Tue, Oct 27, 2020 at 01:33:32PM -0400, John Snow wrote:
> On 10/27/20 11:40 AM, Anthony PERARD wrote:
> > From: Anthony PERARD <anthony.perard@citrix.com>
> >
> > This is to allow IDE disks to be unplugged when adding to QEMU via:
> > -drive file=/root/disk_file,if=none,id=ide-disk0,format=raw
> > -device ide-hd,drive=ide-disk0,bus=ide.0,unit=0
> >
> > as the current code only works for disk added with:
> > -drive file=/root/disk_file,if=ide,index=0,media=disk,format=raw
> >
> > Since the code already have the IDE controller as `dev`, we don't need
> > to use the legacy DriveInfo to find all the drive we want to unplug.
> > We can simply use `blk` from the controller, as it kind of was already
> > assume to be the same, by setting it to NULL.
> >
> > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
>
> Acked-by: John Snow <jsnow@redhat.com>
>
> Do you need me to send a PR for this?
No, that's fine, I can do the PR since it's all xen code.
Thanks,
--
Anthony PERARD
prev parent reply other threads:[~2020-10-28 17:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 15:40 [PATCH v2] xen: rework pci_piix3_xen_ide_unplug Anthony PERARD via
2020-10-27 16:03 ` Paul Durrant
2020-10-27 17:33 ` John Snow
2020-10-28 17:19 ` Anthony PERARD via [this message]
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=20201028171926.GF2214@perard.uk.xensource.com \
--to=qemu-devel@nongnu.org \
--cc=anthony.perard@citrix.com \
--cc=jsnow@redhat.com \
--cc=paul@xen.org \
--cc=qemu-block@nongnu.org \
--cc=sstabellini@kernel.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).