qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lin Ma <lma@suse.de>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Questions about online resizing a lun passthrough disk with virtio-scsi
Date: Thu, 09 Jul 2020 12:07:16 +0000	[thread overview]
Message-ID: <63667cb090057140f377ec76ef85c723@suse.de> (raw)
In-Reply-To: <3c1d7530-91bf-4e6b-c53c-06e6c5b31cac@redhat.com>

On 2020-07-09 12:00, Paolo Bonzini wrote:
> On 09/07/20 13:52, Lin Ma wrote:
>>> It's not recommended however, because block_resize will report the
>>> change to the guest directly with a CAPACITY HAS CHANGED unit 
>>> attention
>>> condition.
>> 
>> Got it, The 'block_resize' is the recommended or necessary step, Even 
>> for
>> passthrough disk online resizing.
> 
> If your target is able to report the unit attention itself, it is okay
> to skip it.  AFAIK drivers/target/ doesn't, though.

Got you.
I happen to use the drivers/target/ :-)

Thank you very much,
Lin


      reply	other threads:[~2020-07-09 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 14:44 Questions about online resizing a lun passthrough disk with virtio-scsi lma
2020-07-08 15:11 ` Paolo Bonzini
2020-07-09 11:52   ` Lin Ma
2020-07-09 12:00     ` Paolo Bonzini
2020-07-09 12:07       ` Lin Ma [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=63667cb090057140f377ec76ef85c723@suse.de \
    --to=lma@suse.de \
    --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).