ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] ALT PVE и pciid сетевых карт
Date: Tue, 4 Jun 2024 14:18:17 +0300
Message-ID: <c1df3c61-2216-4cb8-9b4c-1cb106502fb8@gmail.com> (raw)
In-Reply-To: <750499053.252347.1717474000467.JavaMail.zimbra@taf.ru>


On 6/4/24 07:06, alexei@taf.ru wrote:
> Добрый день!
>
> Скажите, пожалуйста, чем вызвана смена pciid у сетевых карт внутри виртуалок PVE относительно ванильного PVE?

Существенная разница в исходниках, PVE != Proxmox:

https://github.com/proxmox/qemu-server/blob/master/PVE/QemuServer/PCI.pm#L139
https://git.altlinux.org/gears/p/pve-qemu-server.git?p=pve-qemu-server.git;a=blob;f=PVE/QemuServer/PCI.pm;h=eca72d7490ee96a9ff1af957d012721c9673e462;hb=155a9c6ffe9856f1e310035f495b515480a3ccb6#l127

Почему так и что с этим делать -- лучше спрашивать у маинтейнера.
IMHO, лучше не привязываться к номеру устройства на шине.


> Пример PVE в alt p10:
>
> # lspci
> 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
> 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
> 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
> 00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
> 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
> 00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 05)
> 00:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
> 00:05.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
> 00:08.0 Communication controller: Red Hat, Inc. Virtio console
> 00:09.0 Communication controller: Red Hat, Inc. Virtio console
>>> 00:13.0 Ethernet controller: Red Hat, Inc. Virtio network device
> 00:1e.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
> 00:1f.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
> 01:01.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI
>
>
> То же внутри ванильного PVE:
>
> # lspci
> 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
> 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
> 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
> 00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
> 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
> 00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 05)
> 00:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
> 00:05.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
> 00:08.0 Communication controller: Red Hat, Inc. Virtio console
> 00:09.0 Communication controller: Red Hat, Inc. Virtio console
>>> 00:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
> 00:1e.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
> 00:1f.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
> 01:01.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI
>
>
> Как итог, при переносе виртуалок из ванильного proxmox на альтовском pve внутри виртуалок не поднимается сеть, так как разъезжаются имена интерфейсов относительно того что было.
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel

-- 
WBR, Leonid Krivoshein.



      parent reply	other threads:[~2024-06-04 11:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04  4:06 alexei
2024-06-04  8:41 ` Alexey V. Vissarionov
2024-06-04 11:18 ` Leonid Krivoshein [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=c1df3c61-2216-4cb8-9b4c-1cb106502fb8@gmail.com \
    --to=klark.devel@gmail.com \
    --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