All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Thomas Schmitt <scdbackup@gmx.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Summary of CD, DVD passthrough tests with -drive if=scsi
Date: Mon, 07 Nov 2011 18:26:41 +0100	[thread overview]
Message-ID: <4EB814D1.4000408@redhat.com> (raw)
In-Reply-To: <9749882906171@192.168.2.69>

On 11/07/2011 06:02 PM, Thomas Schmitt wrote:
>
> But how would i come from there to your proposal ?
>    -device virtio-blk,drive=scsicd,logical_block_size=2048,physical_block_size=2048

First of all, virtio-blk is an alias for virtio-blk-pci.  I should not 
have used it as it's likely confusing, but anyway "qemu-kvm -device 
virtio-blk-pci,?" tells you all the options that a virtio-blk(-pci) 
device can have.

The idea then is that when you want to express extra options, you cannot 
use simply "-drive if=virtio", and qdev-device-use.txt then hints about 
how to convert -drive if=virtio" to "-drive if=none" + "-device virtio-blk".

Paolo

  reply	other threads:[~2011-11-07 17:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06 11:26 [Qemu-devel] Summary of CD, DVD passthrough tests with -drive if=scsi Thomas Schmitt
2011-11-07 13:27 ` Markus Armbruster
2011-11-07 14:31   ` Thomas Schmitt
2011-11-07 14:34     ` Paolo Bonzini
2011-11-07 17:02       ` Thomas Schmitt
2011-11-07 17:26         ` Paolo Bonzini [this message]
2011-11-09 17:47 ` Paolo Bonzini
2011-11-09 17:53   ` Paolo Bonzini
2011-11-09 19:40   ` Thomas Schmitt

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=4EB814D1.4000408@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=scdbackup@gmx.net \
    /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.