On 4/10/08, Jorge Lucángeli Obes <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 10, 2008 at 12:59 AM, Jun Koi <[EMAIL PROTECTED]> 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!

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

Reply via email to