From: Pavel Hrdina <phrdina@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, phrdina@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] disable the scsi pass-through eject from monitor
Date: Wed, 29 May 2013 14:12:09 +0200 [thread overview]
Message-ID: <cover.1369827988.git.phrdina@redhat.com> (raw)
This series do two things, at first it fixes the bug introduced by
Paolo's patch series. The bug is that he accidentally removes the check
after the bdrv_aio_ioctl() function which still could return NULL.
The second patch fixes the issue that you could eject the scsi pass-through
device from the guest. Probably it should be later fixed in the way that
the eject command will not remove the device from guest, but send the eject
request to the real device in case of removable device.
Pavel Hrdina (2):
scsi-generic: check the return value of bdrv_aio_ioctl in
execute_command
scsi-disk: scsi-block device for scsi pass-through should not be
removable
hw/scsi/scsi-disk.c | 10 +++++++---
hw/scsi/scsi-generic.c | 4 ++++
2 files changed, 11 insertions(+), 3 deletions(-)
--
1.8.1.4
next reply other threads:[~2013-05-29 12:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 12:12 Pavel Hrdina [this message]
2013-05-29 12:12 ` [Qemu-devel] [PATCH 1/2] scsi-generic: check the return value of bdrv_aio_ioctl in execute_command Pavel Hrdina
2013-05-29 12:22 ` Paolo Bonzini
2013-05-29 12:12 ` [Qemu-devel] [PATCH 2/2] scsi-disk: scsi-block device for scsi pass-through should not be removable Pavel Hrdina
2013-05-29 12:24 ` Paolo Bonzini
2013-05-29 12:33 ` Pavel Hrdina
2013-05-29 12:56 ` Paolo Bonzini
2013-05-29 13:30 ` Paolo Bonzini
2013-05-29 13:32 ` Pavel Hrdina
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=cover.1369827988.git.phrdina@redhat.com \
--to=phrdina@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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).