From: Dor Laor <dor.laor@qumranet.com>
To: Jun Koi <junkoi2004@gmail.com>
Cc: KVM <kvm-devel@lists.sourceforge.net>
Subject: Re: virtio with 2.6.25-rc8: problem with /dev/vda
Date: Thu, 10 Apr 2008 10:49:34 +0300 [thread overview]
Message-ID: <1207813774.6201.5.camel@localhost.localdomain> (raw)
In-Reply-To: <fdaac4d50804092214ib6e9ebet8733e7e9f55f3458@mail.gmail.com>
On Thu, 2008-04-10 at 14:14 +0900, Jun Koi wrote:
> On 4/10/08, Jorge Lucángeli Obes <t4m5yn@gmail.com> wrote:
> > On Thu, Apr 10, 2008 at 12:59 AM, Jun Koi <junkoi2004@gmail.com> wrote:
> > > Now I succesfully installed 2.6.25-rc8, and virtio block device works
> > > well. But from inside my VM, how can I say it is using virtio for
> > > block?
> > >
> > > And is there any number about the performance gain using virtio block?
> > >
> > > Another question: currently I have some problem with network: I use option
> > >
> > > "-net nic,model=virtio"
> > >
> > > and try to configure VM from inside after booting, network doesnt
> > > work, even after I manually configure eth0.
> > >
> > > How to fix that network problem?
> >
> >
> > '-net nic,...' only specifies the "hardware" part of QEMU/KVM's
> > networking. You also need to specify whether you are going to use
> > usermode networking or bridged networking. QEMU documentation covers
> > both modes pretty well.
> >
> > To test the card quickly, use usermode networking, where QEMU provides
> > a usermode network stack (complete with DHCP server) that let's you
> > use the VM as if it were behind a completely restrictive firewall that
> > only allows outbound connections.
> >
> > '-net nic,model=virtio -net user'
> >
> > It's a great way to test the network card. If your host has an
> > Internet connection, firing up a browser in the guest (after getting
> > the guest interface up using DHCP) and accessing a web page should
> > "just work".
>
> "-net user" works, thanks!
>
For general knowledge -net tap drastically improves performance.
There is also work in progress mainly by Rusty to do copy-less tap
networking.
> I didnt use the option because I think that is default. But it seems
> if you use "-net" (for "model=virtio" in this case), you must specify
> the networking mode.
>
> Regards,
> Jun
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
prev parent reply other threads:[~2008-04-10 7:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-09 6:43 virtio with 2.6.25-rc8: problem with /dev/vda Jun Koi
2008-04-09 7:38 ` Felix Leimbach
2008-04-09 7:50 ` Jun Koi
2008-04-10 3:28 ` Anthony Liguori
2008-04-10 3:59 ` Jun Koi
2008-04-10 4:06 ` Jorge Lucángeli Obes
2008-04-10 5:14 ` Jun Koi
2008-04-10 7:49 ` Dor Laor [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=1207813774.6201.5.camel@localhost.localdomain \
--to=dor.laor@qumranet.com \
--cc=junkoi2004@gmail.com \
--cc=kvm-devel@lists.sourceforge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox