public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Brian Jackson <iggy@theiggy.com>,
	"Gerd v. Egidy" <gerd.von.egidy@intra2net.com>,
	kvm@vger.kernel.org
Subject: Re: kvm-85: virtio-blk not working
Date: Thu, 23 Apr 2009 12:47:02 -0500	[thread overview]
Message-ID: <49F0A996.6000203@codemonkey.ws> (raw)
In-Reply-To: <20090423162458.GQ5372@redhat.com>

Daniel P. Berrange wrote:
> On Thu, Apr 23, 2009 at 11:13:50AM -0500, Anthony Liguori wrote:
>   
>> Brian Jackson wrote:
>>     
>>> Your problem is that index's are per interface type, so both of your 
>>> drives should be index=0 since they are different interface types.
>>>  
>>>       
>> More specifically, with virtio-blk, you cannot have discontinuous 
>> indexes.   In other words, having index=0, index=1, index=2 is valid, 
>> but having index=1, index=2, index=4 is not.
>>     
>
> Is that restriction going to work with migration ?
>
> eg, you have a VM with 3 disks.  vda, vdb, vdc (index=0, index=1 and index=2).
> You then hot-unplug the 2nd disk, vdb (index=1).  Now migrate the guest to 
> another machine. I believe you now need to be able to start qemu on the target
> host with -incoming and index=0 and index=2, but no index=1 because that 
> disk was unplugged. So the indexes would be discontinuous now
>   

index doesn't have meaning with virtio-blk.

Each disk is dedicated to a PCI slot.  To support migration with 
hotplug, you need to specify the PCI bus address when creating the 
virtio-blk device.

Regards,

Anthony Liguori

      reply	other threads:[~2009-04-23 17:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23  8:43 kvm-85: virtio-blk not working Gerd v. Egidy
2009-04-23 16:07 ` Andreas Plesner Jacobsen
2009-04-23 16:57   ` Gerd v. Egidy
2009-04-23 17:34     ` Andreas Plesner Jacobsen
2009-04-24 11:58       ` Gerd v. Egidy
2009-04-24 12:56         ` Bernhard Held
2009-04-24 14:35           ` Gerd v. Egidy
2009-04-24 14:54             ` Brian Jackson
2009-04-24 16:57               ` Anthony Liguori
2009-04-23 16:10 ` Brian Jackson
2009-04-23 16:13   ` Anthony Liguori
2009-04-23 16:24     ` Daniel P. Berrange
2009-04-23 17:47       ` Anthony Liguori [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=49F0A996.6000203@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=berrange@redhat.com \
    --cc=gerd.von.egidy@intra2net.com \
    --cc=iggy@theiggy.com \
    --cc=kvm@vger.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