public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Tomasz Chmielewski <mangoo-Nem3ZqsbT/g@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: paravirtual drivers?
Date: Fri, 13 Apr 2007 10:38:15 -0500	[thread overview]
Message-ID: <461FA3E7.3040000@codemonkey.ws> (raw)
In-Reply-To: <461FA164.1090703-Nem3ZqsbT/g@public.gmane.org>

Tomasz Chmielewski wrote:
> Anthony Liguori schrieb:
>
> (...)
>
>> I don't believe a PV block driver is actually necessary.  Disk 
>> devices are actually quite slow (unless you have a large array).  
>> With a few small changes (bump MMU cache up to 1024 and actually 
>> enable the aio subsystem), SCSI emulation does as well as Xen's PV 
>> block driver (about 210 mb/sec whereas native is around 250 mb/sec).  
>> There's a lot of room to optimize the SCSI emulation too since there 
>> are a number of copies in that path.
>>
>> The SCSI emulation is a lot like what one would design in a PV 
>> driver.  It supports multiple outstanding requests and doesn't 
>> require a whole lot of exits to submit a request (it uses scripts).
>
> How does one enable SCSI emulation?

Right now, you have to modify the source code :-/

> "qemu-system-x86_64 -h" gives no hints about SCSI (at least in 
> KVM-18); similarly, I didn't find anything in the archive or in the wiki.
>
>
> Certainly, there is a kvm-18/qemu/hw/scsi-disk.c file, so it's like 
> the feature is there...
>
> Is it possible to boot a guest from a "SCSI-emulated" device?

Not yet.  There is work being done on an option ROM to allow SCSI boot 
support though.

Regards,

Anthony Liguori


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

      parent reply	other threads:[~2007-04-13 15:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12  9:38 paravirtual drivers? Tomasz Chmielewski
     [not found] ` <461DFE2E.3020805-Nem3ZqsbT/g@public.gmane.org>
2007-04-12  9:49   ` Avi Kivity
     [not found]     ` <461E008F.8030701-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-12 10:00       ` Tomasz Chmielewski
     [not found]         ` <461E034F.9050608-Nem3ZqsbT/g@public.gmane.org>
2007-04-12 10:47           ` Rami Tamir
2007-04-12 11:30           ` Avi Kivity
2007-04-12  9:58   ` Dor Laor
     [not found]     ` <64F9B87B6B770947A9F8391472E032160B4A9CF0-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-04-12 12:31       ` Arjan van de Ven
     [not found]         ` <1176381086.3844.4.camel-NIQFrBLA1CpScpXdPBN83iCwEArCW2h5@public.gmane.org>
2007-04-12 12:40           ` Dor Laor
     [not found]             ` <64F9B87B6B770947A9F8391472E032160B4A9D60-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-04-12 14:57               ` Arjan van de Ven
     [not found]                 ` <1176389824.3417.0.camel-NIQFrBLA1CpScpXdPBN83iCwEArCW2h5@public.gmane.org>
2007-04-12 15:05                   ` Anthony Liguori
     [not found]                     ` <461E4AAF.8050606-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-04-12 16:16                       ` Arjan van de Ven
     [not found]                         ` <1176394563.3417.7.camel-NIQFrBLA1CpScpXdPBN83iCwEArCW2h5@public.gmane.org>
2007-04-12 17:42                           ` Anthony Liguori
2007-04-12 15:28                   ` Avi Kivity
2007-04-12 14:04   ` Anthony Liguori
     [not found]     ` <461E3C65.5080207-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-04-13 15:27       ` Tomasz Chmielewski
     [not found]         ` <461FA164.1090703-Nem3ZqsbT/g@public.gmane.org>
2007-04-13 15:38           ` 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=461FA3E7.3040000@codemonkey.ws \
    --to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=mangoo-Nem3ZqsbT/g@public.gmane.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