Re: Predictable and consistent net interface naming in guests

2022-12-11 Thread Yalan Zhang
Hi Igor, I have tried some scenarios and recorded the status in this document[1]. Could you please help to check the test result? Is my test matrix enough? (I will test again once qemu is ready) Thank you! BTW, current test results for pxb: Q35+ pcie-expander-bus - works PC + pci-expander-bus -

Re: Predictable and consistent net interface naming in guests

2022-12-09 Thread Julia Suvorova
On Thu, Nov 3, 2022 at 9:26 AM Amnon Ilan wrote: > > > > On Thu, Nov 3, 2022 at 12:13 AM Amnon Ilan wrote: >> >> >> >> On Wed, Nov 2, 2022 at 6:47 PM Laine Stump wrote: >>> >>> On 11/2/22 11:58 AM, Igor Mammedov wrote: >>> > On Wed, 2 Nov 2022 15:20:39 + >>> > Daniel P. Berrangé wrote: >>>

Re: Predictable and consistent net interface naming in guests

2022-12-08 Thread Igor Mammedov
On Thu, Dec 8, 2022 at 5:44 PM Laine Stump wrote: > > On 12/8/22 11:15 AM, Julia Suvorova wrote: > > On Thu, Nov 3, 2022 at 9:26 AM Amnon Ilan wrote: > >> > >> > >> > >> On Thu, Nov 3, 2022 at 12:13 AM Amnon Ilan wrote: > >>> > >>> > >>> > >>> On Wed, Nov 2, 2022 at 6:47 PM Laine Stump wrote: >

Re: Predictable and consistent net interface naming in guests

2022-12-08 Thread Laine Stump
On 12/8/22 11:15 AM, Julia Suvorova wrote: On Thu, Nov 3, 2022 at 9:26 AM Amnon Ilan wrote: On Thu, Nov 3, 2022 at 12:13 AM Amnon Ilan wrote: On Wed, Nov 2, 2022 at 6:47 PM Laine Stump wrote: On 11/2/22 11:58 AM, Igor Mammedov wrote: On Wed, 2 Nov 2022 15:20:39 + Daniel P. Berra

Re: Predictable and consistent net interface naming in guests

2022-11-03 Thread Igor Mammedov
On Thu, 3 Nov 2022 00:13:16 +0200 Amnon Ilan wrote: > On Wed, Nov 2, 2022 at 6:47 PM Laine Stump wrote: > > > On 11/2/22 11:58 AM, Igor Mammedov wrote: > > > On Wed, 2 Nov 2022 15:20:39 + > > > Daniel P. Berrangé wrote: > > > > > >> On Wed, Nov 02, 2022 at 04:08:43PM +0100, Igor Mammed

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Laine Stump
On 11/2/22 11:58 AM, Igor Mammedov wrote: On Wed, 2 Nov 2022 15:20:39 + Daniel P. Berrangé wrote: On Wed, Nov 02, 2022 at 04:08:43PM +0100, Igor Mammedov wrote: On Wed, 2 Nov 2022 10:43:10 -0400 Laine Stump wrote: On 11/1/22 7:46 AM, Igor Mammedov wrote: On Mon, 31 Oct 2022 14:48:5

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Igor Mammedov
On Wed, 2 Nov 2022 15:20:39 + Daniel P. Berrangé wrote: > On Wed, Nov 02, 2022 at 04:08:43PM +0100, Igor Mammedov wrote: > > On Wed, 2 Nov 2022 10:43:10 -0400 > > Laine Stump wrote: > > > > > On 11/1/22 7:46 AM, Igor Mammedov wrote: > > > > On Mon, 31 Oct 2022 14:48:54 + > > > > Dan

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Daniel P . Berrangé
On Wed, Nov 02, 2022 at 04:08:43PM +0100, Igor Mammedov wrote: > On Wed, 2 Nov 2022 10:43:10 -0400 > Laine Stump wrote: > > > On 11/1/22 7:46 AM, Igor Mammedov wrote: > > > On Mon, 31 Oct 2022 14:48:54 + > > > Daniel P. Berrangé wrote: > > > > > >> On Mon, Oct 31, 2022 at 04:32:27PM +0200

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Igor Mammedov
On Wed, 2 Nov 2022 10:43:10 -0400 Laine Stump wrote: > On 11/1/22 7:46 AM, Igor Mammedov wrote: > > On Mon, 31 Oct 2022 14:48:54 + > > Daniel P. Berrangé wrote: > > > >> On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > >>> Hi Igor and Laine, > >>> > >>> I would like to rev

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Laine Stump
On 11/1/22 7:46 AM, Igor Mammedov wrote: On Mon, 31 Oct 2022 14:48:54 + Daniel P. Berrangé wrote: On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: Hi Igor and Laine, I would like to revive a 2 years old discussion [1] about consistent network interfaces in the guest. That di

Re: Predictable and consistent net interface naming in guests

2022-11-01 Thread Igor Mammedov
On Mon, 31 Oct 2022 16:59:53 +0200 Edward Haas wrote: > Thank you both for the quick response. > > On Mon, Oct 31, 2022 at 4:49 PM Daniel P. Berrangé > wrote: > > > On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > > > Hi Igor and Laine, > > > > > > I would like to revive a 2 ye

Re: Predictable and consistent net interface naming in guests

2022-11-01 Thread Igor Mammedov
On Mon, 31 Oct 2022 14:48:54 + Daniel P. Berrangé wrote: > On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > > Hi Igor and Laine, > > > > I would like to revive a 2 years old discussion [1] about consistent network > > interfaces in the guest. > > > > That discussion mentioned

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Laine Stump
On 10/31/22 2:21 PM, Edward Haas wrote: On Mon, Oct 31, 2022 at 6:55 PM Andrea Bolognani > wrote: On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > That discussion mentioned that a guest PCI address may change in two cases: > - The PC

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Edward Haas
On Mon, Oct 31, 2022 at 6:55 PM Andrea Bolognani wrote: > On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > > That discussion mentioned that a guest PCI address may change in two > cases: > > - The PCI topology changes. > > - The machine type changes. > > > > Usually, the machine typ

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Andrea Bolognani
On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > That discussion mentioned that a guest PCI address may change in two cases: > - The PCI topology changes. > - The machine type changes. > > Usually, the machine type is not expected to change, especially if one > wants to allow migratio

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Edward Haas
Thank you both for the quick response. On Mon, Oct 31, 2022 at 4:49 PM Daniel P. Berrangé wrote: > On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > > Hi Igor and Laine, > > > > I would like to revive a 2 years old discussion [1] about consistent > network > > interfaces in the gues

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Daniel P . Berrangé
On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > Hi Igor and Laine, > > I would like to revive a 2 years old discussion [1] about consistent network > interfaces in the guest. > > That discussion mentioned that a guest PCI address may change in two cases: > - The PCI topology change

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Peter Krempa
On Mon, Oct 31, 2022 at 16:32:27 +0200, Edward Haas wrote: [...] > Are there any plans to add the acpi_index support? https://www.libvirt.org/formatdomain.html#network-interfaces "Since 7.3.0, one can set the ACPI index against network interfaces. With some operating systems (eg Linux with sys

Predictable and consistent net interface naming in guests

2022-10-31 Thread Edward Haas
Hi Igor and Laine, I would like to revive a 2 years old discussion [1] about consistent network interfaces in the guest. That discussion mentioned that a guest PCI address may change in two cases: - The PCI topology changes. - The machine type changes. Usually, the machine type is not expected t