Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-09 Thread Igor Mammedov
On Mon, 08 Aug 2022 19:57:23 +0200 BB wrote: > Am 8. August 2022 14:15:40 MESZ schrieb Igor Mammedov : > >On Wed, 3 Aug 2022 19:26:30 +0200 > >Bernhard Beschow wrote: > > > >> On Tue, Aug 2, 2022 at 8:37 AM Philippe Mathieu-Daudé via < > >> qemu-devel@nongnu.org> wrote: > >> > >> > On

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-08 Thread BB
Am 8. August 2022 20:02:50 MESZ schrieb Peter Maydell : >On Mon, 8 Aug 2022 at 18:57, BB wrote: >> Am 8. August 2022 14:15:40 MESZ schrieb Igor Mammedov : >> >On Wed, 3 Aug 2022 19:26:30 +0200 >> >While refactoring we should keep migration stream compatible with older >> >QEMU versions (we

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-08 Thread Philippe Mathieu-Daudé via
On Thu, Jul 28, 2022 at 1:50 PM Igor Mammedov wrote: > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > $ qemu-system-mips -monitor stdio > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > Segmentation fault (core dumped) > > It happens due to PIIX4_PM trying to

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-08 Thread Peter Maydell
On Mon, 8 Aug 2022 at 18:57, BB wrote: > Am 8. August 2022 14:15:40 MESZ schrieb Igor Mammedov : > >On Wed, 3 Aug 2022 19:26:30 +0200 > >While refactoring we should keep migration stream compatible with older > >QEMU versions (we must not regress widely x86 code path). Which might be > >tricky in

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-08 Thread BB
Am 8. August 2022 14:15:40 MESZ schrieb Igor Mammedov : >On Wed, 3 Aug 2022 19:26:30 +0200 >Bernhard Beschow wrote: > >> On Tue, Aug 2, 2022 at 8:37 AM Philippe Mathieu-Daudé via < >> qemu-devel@nongnu.org> wrote: >> >> > On 28/7/22 15:16, Igor Mammedov wrote: >> > > On Thu, 28 Jul 2022

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-08 Thread Igor Mammedov
On Wed, 3 Aug 2022 19:26:30 +0200 Bernhard Beschow wrote: > On Tue, Aug 2, 2022 at 8:37 AM Philippe Mathieu-Daudé via < > qemu-devel@nongnu.org> wrote: > > > On 28/7/22 15:16, Igor Mammedov wrote: > > > On Thu, 28 Jul 2022 13:29:07 +0100 > > > Peter Maydell wrote: > > > > > >> On Thu, 28

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-04 Thread BB
Am 3. August 2022 20:00:18 MESZ schrieb Peter Maydell : >On Wed, 3 Aug 2022 at 18:26, Bernhard Beschow wrote: >> >> On Tue, Aug 2, 2022 at 8:37 AM Philippe Mathieu-Daudé via >> wrote: >>> >>> On 28/7/22 15:16, Igor Mammedov wrote: >>> > On Thu, 28 Jul 2022 13:29:07 +0100 >>> > Peter Maydell

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-04 Thread Ani Sinha
On Wed, Aug 3, 2022 at 3:00 PM Michael S. Tsirkin wrote: > On Thu, Jul 28, 2022 at 07:50:34AM -0400, Igor Mammedov wrote: > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > $ qemu-system-mips -monitor stdio > > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > >

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-03 Thread Michael S. Tsirkin
On Thu, Jul 28, 2022 at 07:50:34AM -0400, Igor Mammedov wrote: > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > $ qemu-system-mips -monitor stdio > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > Segmentation fault (core dumped) > > It happens due to PIIX4_PM

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-03 Thread Peter Maydell
On Wed, 3 Aug 2022 at 18:26, Bernhard Beschow wrote: > > On Tue, Aug 2, 2022 at 8:37 AM Philippe Mathieu-Daudé via > wrote: >> >> On 28/7/22 15:16, Igor Mammedov wrote: >> > On Thu, 28 Jul 2022 13:29:07 +0100 >> > Peter Maydell wrote: >> > >> >> On Thu, 28 Jul 2022 at 12:50, Igor Mammedov

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-03 Thread Bernhard Beschow
On Tue, Aug 2, 2022 at 8:37 AM Philippe Mathieu-Daudé via < qemu-devel@nongnu.org> wrote: > On 28/7/22 15:16, Igor Mammedov wrote: > > On Thu, 28 Jul 2022 13:29:07 +0100 > > Peter Maydell wrote: > > > >> On Thu, 28 Jul 2022 at 12:50, Igor Mammedov > wrote: > >>> > >>> QEMU crashes trying to

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-02 Thread Philippe Mathieu-Daudé via
On 28/7/22 15:16, Igor Mammedov wrote: On Thu, 28 Jul 2022 13:29:07 +0100 Peter Maydell wrote: On Thu, 28 Jul 2022 at 12:50, Igor Mammedov wrote: QEMU crashes trying to save VMSTATE when only MIPS target are compiled in $ qemu-system-mips -monitor stdio (qemu) migrate "exec:gzip -c >

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-01 Thread Peter Maydell
On Mon, 1 Aug 2022 at 10:17, Dr. David Alan Gilbert wrote: > > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > On Fri, 29 Jul 2022 at 10:57, Igor Mammedov wrote: > > > > > > On Thu, 28 Jul 2022 16:12:34 +0100 > > > Peter Maydell wrote: > > > > Either: > > > > (1) we should be sure the

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-08-01 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Fri, 29 Jul 2022 at 10:57, Igor Mammedov wrote: > > > > On Thu, 28 Jul 2022 16:12:34 +0100 > > Peter Maydell wrote: > > > > > On Thu, 28 Jul 2022 at 16:09, Dr. David Alan Gilbert > > > wrote: > > > > > > > > * Igor Mammedov

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-29 Thread Peter Maydell
On Fri, 29 Jul 2022 at 10:57, Igor Mammedov wrote: > > On Thu, 28 Jul 2022 16:12:34 +0100 > Peter Maydell wrote: > > > On Thu, 28 Jul 2022 at 16:09, Dr. David Alan Gilbert > > wrote: > > > > > > * Igor Mammedov (imamm...@redhat.com) wrote: > > > > On Thu, 28 Jul 2022 15:44:20 +0100 > > > > "Dr.

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-29 Thread Igor Mammedov
On Thu, 28 Jul 2022 16:12:34 +0100 Peter Maydell wrote: > On Thu, 28 Jul 2022 at 16:09, Dr. David Alan Gilbert > wrote: > > > > * Igor Mammedov (imamm...@redhat.com) wrote: > > > On Thu, 28 Jul 2022 15:44:20 +0100 > > > "Dr. David Alan Gilbert" wrote: > > > > > > > * Igor Mammedov

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-29 Thread Igor Mammedov
On Thu, 28 Jul 2022 16:04:58 +0100 Peter Maydell wrote: > On Thu, 28 Jul 2022 at 15:44, Dr. David Alan Gilbert > wrote: > > > > * Igor Mammedov (imamm...@redhat.com) wrote: > > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > > $ qemu-system-mips -monitor

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Ani Sinha
On Thu, 28 Jul 2022, Peter Maydell wrote: > On Thu, 28 Jul 2022 at 12:50, Igor Mammedov wrote: > > > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > $ qemu-system-mips -monitor stdio > > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > > Segmentation fault

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Ani Sinha
On Thu, 28 Jul 2022, Peter Maydell wrote: > On Thu, 28 Jul 2022 at 15:44, Dr. David Alan Gilbert > wrote: > > Isn't the problem partially due to a 'stub' vmsd which isn't terminated? > > Yes, but setting these properties causes that vmsd > (vmstate_acpi_pcihp_pci_status) to not be used: > >

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Peter Maydell
On Thu, 28 Jul 2022 at 15:44, Dr. David Alan Gilbert wrote: > > * Igor Mammedov (imamm...@redhat.com) wrote: > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > $ qemu-system-mips -monitor stdio > > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > > Segmentation

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Peter Maydell
On Thu, 28 Jul 2022 at 16:09, Dr. David Alan Gilbert wrote: > > * Igor Mammedov (imamm...@redhat.com) wrote: > > On Thu, 28 Jul 2022 15:44:20 +0100 > > "Dr. David Alan Gilbert" wrote: > > > > > * Igor Mammedov (imamm...@redhat.com) wrote: > > > > QEMU crashes trying to save VMSTATE when only

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Dr. David Alan Gilbert
* Igor Mammedov (imamm...@redhat.com) wrote: > On Thu, 28 Jul 2022 15:44:20 +0100 > "Dr. David Alan Gilbert" wrote: > > > * Igor Mammedov (imamm...@redhat.com) wrote: > > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > > $ qemu-system-mips -monitor stdio > > >

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Dr. David Alan Gilbert
* Igor Mammedov (imamm...@redhat.com) wrote: > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > $ qemu-system-mips -monitor stdio > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > Segmentation fault (core dumped) > > It happens due to PIIX4_PM trying to parse

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Igor Mammedov
On Thu, 28 Jul 2022 15:44:20 +0100 "Dr. David Alan Gilbert" wrote: > * Igor Mammedov (imamm...@redhat.com) wrote: > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > $ qemu-system-mips -monitor stdio > > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > >

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Igor Mammedov
On Thu, 28 Jul 2022 13:29:07 +0100 Peter Maydell wrote: > On Thu, 28 Jul 2022 at 12:50, Igor Mammedov wrote: > > > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > > $ qemu-system-mips -monitor stdio > > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > >

Re: [PATCH for-7.1] hw/mips/malta: turn off x86 specific features of PIIX4_PM

2022-07-28 Thread Peter Maydell
On Thu, 28 Jul 2022 at 12:50, Igor Mammedov wrote: > > QEMU crashes trying to save VMSTATE when only MIPS target are compiled in > $ qemu-system-mips -monitor stdio > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > Segmentation fault (core dumped) > > It happens due to PIIX4_PM trying to