All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sasha.levin@oracle.com>
To: "Pekka Enberg" <penberg@iki.fi>, "Péter Szabó" <ptspts@gmail.com>,
	kvm@vger.kernel.org, "Asias He" <asias@redhat.com>,
	"Cyrill Gorcunov" <gorcunov@openvz.org>
Subject: Re: lkvm issue: --network mode=user,trans=mmio doesn't work
Date: Sat, 12 Oct 2013 10:01:42 -0400	[thread overview]
Message-ID: <52595646.5060301@oracle.com> (raw)
In-Reply-To: <52591B1C.1080503@iki.fi>

On 10/12/2013 05:49 AM, Pekka Enberg wrote:
> Hi Peter,
>
> (Adding bunch of CCs.)
>
> On 10/12/13 11:05 AM, Péter Szabó wrote:
>> First, thank you very much for writing lkvm, it's awesome, and very
>> easy to set up.
>>
>> If sending an e-mail to you is not the right way to report lkvm
>> issues, please tell me how I should do it.
>
> Sure, you can report problems to me and I'll do my best to
> try to get them sorted out.
>
>> I'm using afdf92030c7c43b0f9b32b7edbe07ac3b13780f1 from
>> git://github.com/penberg/linux-kvm.git and Linux kernel 3.2.51:
>>
>> config-3.2.51 (42 KB)
>> https://mega.co.nz/#!hgxB1TDJ!SdbX-jp_yr8E6EUJl7t7Tzrh1p4qKxkTHieoss8yu_Y
>> bzImage-3.2.51 (2.0 MB)
>> https://mega.co.nz/#!5lBVmDZL!WpPRWA7ZflevBIPPNGNM_FkkY-ErBNQMoEbw0XePi5I
>>
>> Config:
>>
>> $ grep -E 'VIRTIO|MMIO' .config
>> CONFIG_NET_9P_VIRTIO=y
>> CONFIG_VIRTIO_BLK=y
>> CONFIG_VIRTIO_NET=y
>> CONFIG_VIRTIO_CONSOLE=y
>> CONFIG_HW_RANDOM_VIRTIO=y
>> CONFIG_VIRTIO=y
>> CONFIG_VIRTIO_RING=y
>> CONFIG_VIRTIO_PCI=y
>> CONFIG_VIRTIO_BALLOON=y
>> CONFIG_VIRTIO_MMIO=y
>> CONFIG_HAVE_MMIOTRACE_SUPPORT=y
>>
>> I'm running `lkvm run --network mode=user,trans=mmio', and it fails to
>> create the eth0 device (`cat /proc/net/dev' doesn't show the device).
>> With `lkvm run --network mode=user' everything just works.
>>
>> I have also tried kernels 3.0.99, 3.4.65 an 3.10.15, but they seem to
>> fail the same way.
>>
>> Am I using it correctly?
>
> Asias, Sasha, is mmio transport supported by virtio networking?

It should be. The ARM folks use it all the time (I suppose).

Did you properly define the network device within the guest? MMIO doesn't have automatic detection 
like PCI does.


Thanks,
Sasha


  reply	other threads:[~2013-10-12 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAAAOz08gRiYMLZPg2TU-knVkbHAESvNzsb+rcipqc7rmbzDf_g@mail.gmail.com>
2013-10-12  9:49 ` lkvm issue: --network mode=user,trans=mmio doesn't work Pekka Enberg
2013-10-12 14:01   ` Sasha Levin [this message]
2013-10-12 18:16     ` Péter Szabó
2013-10-13 23:30     ` Asias He

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=52595646.5060301@oracle.com \
    --to=sasha.levin@oracle.com \
    --cc=asias@redhat.com \
    --cc=gorcunov@openvz.org \
    --cc=kvm@vger.kernel.org \
    --cc=penberg@iki.fi \
    --cc=ptspts@gmail.com \
    /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.