All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
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 17:24:58 +0100	[thread overview]
Message-ID: <20090423162458.GQ5372@redhat.com> (raw)
In-Reply-To: <49F093BE.9030601@codemonkey.ws>

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

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

  reply	other threads:[~2009-04-23 16:25 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 [this message]
2009-04-23 17:47       ` Anthony Liguori

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=20090423162458.GQ5372@redhat.com \
    --to=berrange@redhat.com \
    --cc=anthony@codemonkey.ws \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.