ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Valery V. Inozemtsev" <shrek@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] kvm - вопрос
Date: Wed, 28 May 2008 12:24:22 +0400
Message-ID: <200805281224.25316.shrek@altlinux.ru> (raw)
In-Reply-To: <200805281120.02057.ledest@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

В сообщении от 28 мая 2008 Led написал(a):
> Wednesday, 28 May 2008 11:10:16 Yury Romanov написав:
> > 28 мая 2008 г. 11:44 пользователь Led <ledest@gmail.com> написал:
> > > Wednesday, 28 May 2008 10:38:51 Yury Romanov написав:
> > > > Доброго времени суток, вопрос скорее всего оффтопен, а может следует
> > >
> > > писать
> > >
> > > > в багзиллу, но все же.
> > > > в kvm наблюдаю следующий баг:
> > > > запускаю виртуалку
> > > > kvm -hda hda.img -boot c -m 384 -net nic -net tap,script=./ifup
> > > > в ifup стоит
> > > > ip li set $1 up
> > > > ip a add $1 192.168.120.2/24
> > > > У виртуалки ip 192.168.120.1/24
> > > > Виртуальная машина запускается, tap-интерфейс в хост-системе
> > > > создается, eth0 в виртуалке тоже, но трафик между ней и хост-системой
> > > > не идет
> > >
> > > От кого запускается kvm? Права на /dev/tap* для этого пользователя
> > > достаточны?
> >
> > От его величества root. ;)
>
> Только что проверил: поднял tap0 руками, запускал
> kvm ...... -net nic -net tap,ifname=tap0,script=no
> - работает
> Так что либо скрипт правте, либо "ifname=tap?" указывать нужно явно...

а я вот вчера просто запустил kvm бла-бла-бла и с удивлением обнаружил что 
сеть работает

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-05-28  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28  7:44 ` Led
2008-05-28  8:20     ` Led
2008-05-28  8:24       ` Valery V. Inozemtsev [this message]
2008-05-28  8:27         ` Led
2008-05-28  9:07     ` Led
2008-05-28  9:38       ` Michael Shigorin

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=200805281224.25316.shrek@altlinux.ru \
    --to=shrek@altlinux.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git