From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717499899; x=1718104699; darn=lists.altlinux.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=zGL5YW+04xpK2tTVHWzMhYKcRtYFRvD25ofF6uK6smA=; b=HbmzbnJEw2CPkEKHXldPOc6axEYvJRtER61nLfHgOKfSk/aZw3MyrhBjw6v0ZKRcUx y9esMRQe9CIRVm25tk5tt2sZwvzffOCH+SAqvov2tWzNEWiB9o9lqcDAgh+OwTdSxmkb YffwQOAoOCFkI90AKGxkzvFBSsU1WEU8YJa89WPw+rgvfBUWZ2pLuPXR34p6OMRt3Ecj FxYLVPU94htr/rgxcrFCpieii1Q4gtHFsv0sopV5jgxE7B3LqCgotbn231xBdB8oclFG IqLbCX5NjIxl2wrwQRHR/I2KFyaoGeSGWYNgkpAO2nkPich3/mZTGtGbHgegeBJa6ct3 pg4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717499899; x=1718104699; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zGL5YW+04xpK2tTVHWzMhYKcRtYFRvD25ofF6uK6smA=; b=iTlbD25FcRPb3K1qRORPWD/GhBLUispysCFuCYvVeuDNeYy9nMU59/QeDomqBljdhv +YofqPYW0/uw/349U9HK6eTxlNPuBjfqEoPShx4tfHMxF2nkCh1O0cl8XDDPcTvT2khJ SSHTGZjjqUX1hP4ftIpHZbvjfLCRzk5ks85VehJi2DOZP4L87vkLbSzXTmy4H97a8XGb RcaYDIKHKBLSuDQbMtsOawO1P2ndN/EKFXzsaDenPZ5QaKrfiA7eFHGZci5kI0B/fgba Cxup3hj39BqJcZJMSCNfjkk54BVK6TZw5OdcF2vYWVmbuiqZj2lD7IsNFNratwNpIfPp uCng== X-Gm-Message-State: AOJu0YxRZYZLzS+0qsiJIeZR3qRkog4fEb16pHYu/EpqyddU4mBdHWnR +rGT5auvwVKr8eoD27Ral5XD0Z583GurMWC0Jv55W3ZtfwKg68uYiweWLg== X-Google-Smtp-Source: AGHT+IGH1yiJ/3y6wg+59COh9Rl5XxiwNOrmWQA6eyvyrqGNPz3zoNjbnCK9/UkTfuco0kbGH4F+lw== X-Received: by 2002:ac2:5f65:0:b0:52b:8365:2a8f with SMTP id 2adb3069b0e04-52b8954eb9emr8166707e87.25.1717499898977; Tue, 04 Jun 2024 04:18:18 -0700 (PDT) Message-ID: Date: Tue, 4 Jun 2024 14:18:17 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: devel@lists.altlinux.org References: <750499053.252347.1717474000467.JavaMail.zimbra@taf.ru> Content-Language: ru, en-US From: Leonid Krivoshein In-Reply-To: <750499053.252347.1717474000467.JavaMail.zimbra@taf.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] =?utf-8?b?QUxUIFBWRSDQuCBwY2lpZCDRgdC10YLQtdCy0YvRhSA=?= =?utf-8?b?0LrQsNGA0YI=?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2024 11:18:22 -0000 Archived-At: List-Archive: List-Post: 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.