Re: [libvirt] [Qemu-devel] [PULL 00/45] Machine queue, 2018-10-18

2018-10-24 Thread Philippe Mathieu-Daudé
;> numa: Clean up error reporting in parse_numa() (2018-10-17 16:33:40 -0300) >> >> ---- >> Machine queue, 2018-10-18 >> >> * sysbus init/realize cleanups >> (Cédric Le Goater, Philippe Mathieu-

Re: [libvirt] [Qemu-devel] [PULL 00/45] Machine queue, 2018-10-18

2018-10-24 Thread Philippe Mathieu-Daudé
On Fri, Oct 19, 2018 at 7:00 PM Philippe Mathieu-Daudé wrote: > On 19/10/2018 16:12, Peter Maydell wrote: ... > >> > >> > > > > Hi. This had some problems in merge testing, I'm afraid: > > >

Re: [libvirt] [Qemu-devel] [PULL 00/45] Machine queue, 2018-10-18

2018-10-24 Thread Philippe Mathieu-Daudé
, Philippe Mathieu-Daudé) * memory-device refactoring (David Hildenbrand) * -smp: deprecate incorrect CPUs topology (Igor Mammedov) * -numa parsing cleanups (Markus Armbruster) * Fix hostmem-file memory leak (Zhang Yi) * Typo fix (Li Qiang

Re: [libvirt] [Qemu-devel] [PATCH 3/3] cirrus: mark as deprecated

2018-10-25 Thread Philippe Mathieu-Daudé
e should propably add an archived copy of this post to www.qemu.org. Reviewed-by: Philippe Mathieu-Daudé } static const TypeInfo cirrus_vga_info = { diff --git a/hw/display/cirrus_vga_isa.c b/hw/display/cirrus_vga_isa.c index fa10b74..c2d853c 100644 --- a/hw/display/cirrus_vga_isa.c

Re: [libvirt] [Qemu-devel] [PATCH 2/3] adlib: mark as insecure and deprecated.

2018-10-25 Thread Philippe Mathieu-Daudé
nd pc-0.11 (since 3.0) Reviewed-by: Philippe Mathieu-Daudé -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [Qemu-devel] [PATCH 1/3] qdev: add deprecation_reason to DeviceClass

2018-10-25 Thread Philippe Mathieu-Daudé
intf(", no-user"); } +if (!dc->deprecation_reason) { This is the opposite condition: if (dc->deprecation_reason) { out_printf(", deprecated"); With it fixed: Reviewed-by: Philippe Mathieu-Daudé +out_printf(", deprecated&quo

Re: [libvirt] [Qemu-devel] [PULL v2 05/43] hw/timer/sun4v-rtc: Convert from DPRINTF() macro to trace events

2018-10-26 Thread Philippe Mathieu-Daudé
On 26/10/18 10:27, Eduardo Habkost wrote: On Thu, Oct 25, 2018 at 06:17:59PM +0100, David Gibson wrote: On Thu, Oct 25, 2018 at 10:32:23AM -0300, Eduardo Habkost wrote: From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Artyom Tarasenko Reviewed-by: Cédric Le

Re: [libvirt] [Qemu-devel] [QEMU PATCH] net: Deprecate the old way of using a legacy net via "name" instead of "id"

2018-09-20 Thread Philippe Mathieu-Daudé
s enough to specify the netdev id there instead. > > Also add a missing dependency to the Makefile to make sure that the > docs get correctly regenerated when qemu-deprecated.texi is changed. > > Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé > --- > Make

Re: [libvirt] [Qemu-devel] [PATCH v2 1/4] Makefile: Add missing dependency for qemu-deprecated.texi

2018-09-20 Thread Philippe Mathieu-Daudé
On 9/20/18 10:50 AM, Thomas Huth wrote: > Make sure that the docs get correctly regenerated when the > file qemu-deprecated.texi has been changed. > > Fixes: 44c67847e32c91a6071fb0440c357b9489f08bc6 > Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé > --- >

Re: [libvirt] [Qemu-devel] [PATCH v2 2/4] net: Deprecate the "name" parameter of -net

2018-09-20 Thread Philippe Mathieu-Daudé
the "name" parameter > now - this will also be less confusing for the users in the long run. > > Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé > --- > net/net.c| 4 > qemu-deprecated.texi | 5 + > 2 files changed, 9 insertions(+) >

Re: [libvirt] [Qemu-devel] [PATCH v2 3/4] net/slirp: Deprecate the [hub_id name] parameter tuple

2018-09-20 Thread Philippe Mathieu-Daudé
tem was still using "vlans" only and when it did > not use unique "id"s yet). > > Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé > --- > net/slirp.c | 2 ++ > qemu-deprecated.texi | 7 +++ > 2 files changed, 9 insertions(+) &g

Re: [libvirt] [Qemu-devel] [PULL v3 00/54] Kconfig conversion, excluding ARM and MIPS

2019-03-22 Thread Philippe Mathieu-Daudé
Le jeu. 21 mars 2019 13:39, Laszlo Ersek a écrit : > On 03/21/19 01:53, Laszlo Ersek wrote: > > Hi Paolo, > > > > (+libvir-list) > > > > I'd like to report a regression introduced by this patch set: > > > > On 03/07/19 21:58, Paolo Bonzini wrote: > >> The following changes since commit > >>

Re: [libvirt] [Qemu-devel] [PATCH 1/3] scsi-disk: Don't use empty string as device id

2019-01-29 Thread Philippe Mathieu-Daudé
> as separate disks again. > > Signed-off-by: Kevin Wolf Reviewed-by: Philippe Mathieu-Daudé > --- > hw/scsi/scsi-disk.c | 14 -- > 1 file changed, 8 insertions(+), 6 deletions(-) > > diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c > index 0e9027c8f

Re: [libvirt] [Qemu-devel] [PATCH for-4.1] hw/arm/nseries: Deprecate the n800 and n810 machines

2019-04-12 Thread Philippe Mathieu-Daudé
On 4/12/19 5:26 PM, Thomas Huth wrote: > These machines depend on the deprecated bluetooth subsystem. In case we > finally decide to remove the bluetooth subsystem, we likely need to > remove the n800 and n810 machines, too, so mark them now as deprecated. > > Signed-off-by: Thomas Huth > --- >

Re: [libvirt] [Qemu-devel] Exposing feature deprecation to machine clients

2019-11-07 Thread Philippe Mathieu-Daudé
Hi Markus, On 8/15/19 7:40 PM, John Snow wrote: On 8/15/19 10:16 AM, Markus Armbruster wrote: John Snow writes: [...] I asked Markus this not too long ago; do we want to amend the QAPI schema specification to allow commands to return with "Warning" strings, or "Deprecated" stings to allow

Re: [libvirt] [PATCH v2 4/4] hw/display: Remove "rombar" hack from vga-pci and vmware_vga

2019-12-09 Thread Philippe Mathieu-Daudé
On 12/9/19 1:52 PM, Thomas Huth wrote: Now that the old pc-0.x machine types have been removed, we do not need the old "rombar" hacks anymore. Signed-off-by: Thomas Huth --- hw/display/vga-pci.c| 5 - hw/display/vga.c| 4 +--- hw/display/vmware_vga.c | 5 - 3 files

Re: [libvirt] [PATCH v3] qga: fence guest-set-time if hwclock not available

2019-12-05 Thread Philippe Mathieu-Daudé
On 12/5/19 2:12 PM, Cornelia Huck wrote: On Thu, 5 Dec 2019 14:05:19 +0100 Philippe Mathieu-Daudé wrote: Hi Cornelia, On 12/5/19 12:53 PM, Cornelia Huck wrote: The Posix implementation of guest-set-time invokes hwclock to set/retrieve the time to/from the hardware clock. If hwclock

Re: [libvirt] [PATCH 1/3] hw/i386: Remove the deprecated machines 0.12 up to 0.15

2019-12-05 Thread Philippe Mathieu-Daudé
On 12/5/19 5:06 PM, Thomas Huth wrote: They can't be used reliable for live-migration anymore (see https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg04516.html "reliably"? I'd keep the reference, but also paste Paolo's 7 lines here. Reviewed-by: Philippe Mathieu-Daudé f

Re: [libvirt] [PATCH 2/3] hw/audio: Remove the "use_broken_id" hack from the AC97 device

2019-12-05 Thread Philippe Mathieu-Daudé
atic Property ac97_properties[] = { DEFINE_AUDIO_PROPERTIES(AC97LinkState, card), -DEFINE_PROP_UINT32 ("use_broken_id", AC97LinkState, use_broken_id, 0), DEFINE_PROP_END_OF_LIST (), }; Reviewed-by: Philippe Mathieu-Daudé -- libvir-list mailing list libvi

Re: [libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-26 Thread Philippe Mathieu-Daudé
Hi Aleksandar, On 11/26/19 9:46 PM, Aleksandar Markovic wrote: On Mon, Nov 25, 2019 at 11:41 AM Philippe Mathieu-Daudé wrote: The r4k machine was introduced in 2005 (6af0bf9c7) and its last logical change was in 2005 (9542611a6). After we can count 164 maintenance commits (QEMU API changes

Re: [libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-26 Thread Philippe Mathieu-Daudé
On Tue, Nov 26, 2019 at 11:03 PM Aleksandar Markovic wrote: > On Tuesday, November 26, 2019, Philippe Mathieu-Daudé > wrote: >> >> Hi Aleksandar, >> >> On 11/26/19 9:46 PM, Aleksandar Markovic wrote: >>> >>> On Mon, Nov 25, 20

Re: [libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-27 Thread Philippe Mathieu-Daudé
Hi Aleksandar, On 11/27/19 7:47 PM, Aleksandar Markovic wrote: On Mon, Nov 25, 2019 at 11:41 AM Philippe Mathieu-Daudé wrote: The r4k machine was introduced in 2005 (6af0bf9c7) and its last logical change was in 2005 (9542611a6). After we can count 164 maintenance commits (QEMU API changes

Re: [libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-27 Thread Philippe Mathieu-Daudé
On 11/27/19 8:40 PM, Aleksandar Markovic wrote: On Mon, Nov 25, 2019 at 4:40 PM Daniel P. Berrangé wrote: On Mon, Nov 25, 2019 at 03:45:35PM +0100, Aleksandar Markovic wrote: On Monday, November 25, 2019, Philippe Mathieu-Daudé wrote: The r4k machine was introduced in 2005 (6af0bf9c7

Re: [libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-25 Thread Philippe Mathieu-Daudé
On 11/25/19 3:45 PM, Aleksandar Markovic wrote: On Monday, November 25, 2019, Philippe Mathieu-Daudé <mailto:phi...@redhat.com>> wrote: The r4k machine was introduced in 2005 (6af0bf9c7) and its last logical change was in 2005 (9542611a6). After we can count 164 ma

[libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-25 Thread Philippe Mathieu-Daudé
at the 0x1000 (PHYS, 16Mb in size). * All peripherial devices are attached to this "bus" with * the standard PC ISA addresses. It is time to deprecate this obsolete machine. Users are recommended to use the Malta board, which hardware is well documented. Signed-off-by: Philippe Mat

Re: [libvirt] [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2019-11-27 Thread Philippe Mathieu-Daudé
On 11/27/19 10:31 PM, Aleksandar Markovic wrote: On Wed, Nov 27, 2019 at 10:17 PM Philippe Mathieu-Daudé wrote: Hi Aleksandar, On 11/27/19 7:47 PM, Aleksandar Markovic wrote: On Mon, Nov 25, 2019 at 11:41 AM Philippe Mathieu-Daudé wrote: The r4k machine was introduced in 2005 (6af0bf9c7

Re: [libvirt] [PATCH v2 1/1] IDE: deprecate ide-drive

2019-10-10 Thread Philippe Mathieu-Daudé
On 10/10/19 1:26 PM, Peter Krempa wrote: On Thu, Oct 10, 2019 at 13:22:37 +0200, Philippe Mathieu-Daudé wrote: On 10/10/19 12:43 AM, John Snow wrote: It's an old compatibility shim that just delegates to ide-cd or ide-hd. I'd like to refactor these some day, and getting rid of the super-object

Re: [PATCH for-5.0 3/4] Remove the core bluetooth code

2020-02-05 Thread Philippe Mathieu-Daudé
On 2/5/20 6:51 PM, Daniel P. Berrangé wrote: > On Wed, Feb 05, 2020 at 06:40:31PM +0100, Aleksandar Markovic wrote: >> On Sat, Feb 1, 2020 at 7:53 PM Philippe Mathieu-Daudé >> wrote: >>> >>>>>> @@ -1151,10 +1150,6 @@ for opt do >>&

[PULL 07/46] qemu-deprecated: Remove text about Python 2

2020-02-06 Thread Philippe Mathieu-Daudé
ilippe Mathieu-Daudé --- qemu-deprecated.texi | 8 1 file changed, 8 deletions(-) diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index ea3e10bde3..97668edf92 100644 --- a/qemu-deprecated.texi +++ b/qemu-deprecated.texi @@ -351,14 +351,6 @@ they have no effect when used with @opt

Re: [PATCH for-5.0 3/4] Remove the core bluetooth code

2020-02-03 Thread Philippe Mathieu-Daudé
On 11/20/19 10:10 AM, Thomas Huth wrote: > It's been deprecated since QEMU v3.1. We've explicitly asked in the > deprecation message that people should speak up on qemu-devel in case > they are still actively using the bluetooth part of QEMU, but nobody > ever replied that they are really still

Re: [PATCH for-5.0 3/4] Remove the core bluetooth code

2020-02-03 Thread Philippe Mathieu-Daudé
On Sat, Feb 1, 2020 at 7:51 PM Thomas Huth wrote: > On 01/02/2020 17.09, Philippe Mathieu-Daudé wrote: > > On 11/20/19 10:10 AM, Thomas Huth wrote: > >> It's been deprecated since QEMU v3.1. We've explicitly asked in the > >> deprecation message that people should spe

Re: [PATCH v2 05/10] docs/system/deprecated: mark ppc64abi32-linux-user for deprecation

2020-09-09 Thread Philippe Mathieu-Daudé
arly > +trip up our CI testing and is suspected to be quite broken. For that > +reason the maintainers strongly suspect no one actually uses it. > + > Related binaries > Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2020-09-10 Thread Philippe Mathieu-Daudé
On 9/4/20 6:57 PM, Philippe Mathieu-Daudé wrote: > Hi, > > On 12/17/19 7:43 PM, Aleksandar Markovic wrote: >> From: Thomas Huth >> Sent: Tuesday, December 17, 2019 7:10 PM >> To: Philippe Mathieu-Daudé; qemu-de...@nongnu.org >> Cc: libvir-list@redhat.com; Herv

Re: [PATCH v2] docs/system: clarify deprecation schedule

2020-09-15 Thread Philippe Mathieu-Daudé
gested-by: Daniel P. Berrangé > Signed-off-by: Stefan Hajnoczi Reviewed-by: Philippe Mathieu-Daudé > --- > v2: > * Use Dan's suggested wording [Daniel Berrange] > --- > docs/system/deprecated.rst | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > >

Re: [PATCH-for-4.2] hw/mips: Deprecate the r4k machine

2020-09-04 Thread Philippe Mathieu-Daudé
Hi, On 12/17/19 7:43 PM, Aleksandar Markovic wrote: > From: Thomas Huth > Sent: Tuesday, December 17, 2019 7:10 PM > To: Philippe Mathieu-Daudé; qemu-de...@nongnu.org > Cc: libvir-list@redhat.com; Hervé Poussineau; Aleksandar Markovic; Aleksandar > Rikalo; Aurelien Jarno > Sub

[PATCH] docs/system: Deprecate raspi2/raspi3 machine aliases

2020-10-19 Thread Philippe Mathieu-Daudé
Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b. As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases. Signed-off-by: Philippe Mat

Re: [PATCH] docs/system: Deprecate raspi2/raspi3 machine aliases

2020-10-19 Thread Philippe Mathieu-Daudé
On 10/19/20 10:21 AM, Philippe Mathieu-Daudé wrote: Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b. As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the ras

Re: [RFC DOCUMENT 00/12] kubevirt-and-kvm: Add documents

2020-09-22 Thread Philippe Mathieu-Daudé
Hi Andrea, On 9/16/20 6:44 PM, Andrea Bolognani wrote: > Hello there! > > Several weeks ago, a group of Red Hatters working on the > virtualization stack (primarily QEMU and libvirt) started a > conversation with developers from the KubeVirt project with the goal > of better understanding and

Re: [PATCH v2 2/2] block: deprecate the sheepdog block driver

2020-09-23 Thread Philippe Mathieu-Daudé
*/ > #define FNV1A_64_INIT ((uint64_t)0xcbf29ce484222325ULL) > > +static void deprecation_warning(void) > +{ > +static bool warned = false; Checkpatch warns there is no need to initialize static bool to false, otherwise: Reviewed-by: Philippe Mathieu-Daudé > + > +if (!warned) { > +warn_report("the sheepdog block driver is deprecated and will be " > +"removed in a future release"); > +warned = true; > +} > +} [...]

Re: [PATCH 00/14] hw/mips: patch queue for 2020-05-26

2020-05-26 Thread Philippe Mathieu-Daudé
On 5/26/20 3:14 PM, Aleksandar Markovic wrote: > уто, 26. мај 2020. у 13:06 Aleksandar Markovic > је написао/ла: >> >> уто, 26. мај 2020. у 12:47 Philippe Mathieu-Daudé је >> написао/ла: >>> >>> Hi, >>> >>> This is the current

[PULL 11/14] hw/mips: Rename malta/mipssim/r4k/jazz files

2020-05-26 Thread Philippe Mathieu-Daudé
From: Aleksandar Markovic Machine file names should not have prefix "mips_". Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-id: <20200518200920.17344-22-aleksandar.qemu.de...@gmail.com> [PMD: Fixed Fuloong line conflict due to rebase] Signed-

[PULL 07/14] hw/pci-host/bonito: Better describe the I/O CS regions

2020-05-26 Thread Philippe Mathieu-Daudé
Better describe the I/O CS regions, add the ROMCS region. Reviewed-by: Aleksandar Markovic Message-id: <20200510210128.18343-11-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --gi

[PULL 08/14] hw/pci-host/bonito: Set the Config register reset value with FIELD_DP32

2020-05-26 Thread Philippe Mathieu-Daudé
Describe some bits of the Config registers fields with the registerfields API. Use the FIELD_DP32() macro to set the BONGENCFG register bits at reset. Reviewed-by: Aleksandar Markovic Message-id: <20200510210128.18343-12-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pc

[PULL 09/14] hw/mips/fuloong2e: Move code and update a comment

2020-05-26 Thread Philippe Mathieu-Daudé
Move the RAM-related call closer to the RAM creation block, rename the ROM comment. Reviewed-by: Huacai Chen Message-id: <20200510210128.18343-4-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/mips/mips_fulong2e.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

[PULL 00/14] mips-hw-next patches for 2020-05-26

2020-05-26 Thread Philippe Mathieu-Daudé
The following changes since commit 8f72c75cfc9b3c84a9b5e7a58ee5e471cb2f19c8: Merge remote-tracking branch 'remotes/kraxel/tags/audio-20200526-pull-reque= st' into staging (2020-05-26 10:59:01 +0100) are available in the Git repository at: https://gitlab.com/philmd/qemu.git

[PULL 14/14] MAINTAINERS: Change Aleksandar Rikalo's email address

2020-05-26 Thread Philippe Mathieu-Daudé
From: Aleksandar Markovic Aleksandar Rikalo wants to use a different email address from now on. Reviewed-by: Aleksandar Rikalo Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-id: <20200518200920.17344-18-aleksandar.qemu

[PULL 06/14] hw/pci-host/bonito: Map the different PCI ranges more detailed

2020-05-26 Thread Philippe Mathieu-Daudé
Better describe the Bonito64 MEM HI/LO and I/O PCI ranges, add more PCI regions as unimplemented. Reviewed-by: Aleksandar Markovic Message-id: <20200526104726.11273-7-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 32

[PULL 05/14] hw/pci-host/bonito: Map all the Bonito64 I/O range

2020-05-26 Thread Philippe Mathieu-Daudé
ed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 3 +++ hw/pci-host/Kconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index b90e5a636d..f09bb1c6a8 100644 --- a/hw/pci-host/bonito.c +++ b/hw/pci-host/bonito.c @@ -48,6 +48,7 @@ #i

Re: [PATCH 00/14] hw/mips: patch queue for 2020-05-26

2020-05-26 Thread Philippe Mathieu-Daudé
On 5/26/20 3:29 PM, Aleksandar Markovic wrote: > уто, 26. мај 2020. у 15:20 Philippe Mathieu-Daudé је > написао/ла: >> >> On 5/26/20 3:14 PM, Aleksandar Markovic wrote: >>> уто, 26. мај 2020. у 13:06 Aleksandar Markovic >>> је написао/ла: >>>>

Re: [PATCH 10/14] hw/mips/fuloong2e: Fix typo in Fuloong machine name

2020-05-26 Thread Philippe Mathieu-Daudé
On 5/26/20 2:37 PM, Aleksandar Markovic wrote: >>> >>> +mips ``fulong2e`` machine (since 5.1) >>> +' >>> + >>> +This machine has been renamed ``fuloong2e``. >>> + >> >> Libvirt doesn't have any special handling for this machine so this >> shouldn't impact us. >>

[PULL 01/14] MAINTAINERS: Add Huacai Chen as fuloong2e co-maintainer

2020-05-26 Thread Philippe Mathieu-Daudé
From: Huacai Chen I submitted the MIPS/fuloong2e support about ten years ago, and after that I became a MIPS kernel developer. Last year, Philippe Mathieu- Daudé asked me that whether I can be a reviewer of MIPS/fuloong2e, and I promised that I will do some QEMU work in the next year (i.e., 2020

[PULL 03/14] hw/pci-host/bonito: Fix DPRINTF() format strings

2020-05-26 Thread Philippe Mathieu-Daudé
Reviewed-by: Huacai Chen Message-id: <20200510210128.18343-7-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index f212796044..b874468ea6

[PULL 04/14] hw/pci-host/bonito: Map peripheral using physical address

2020-05-26 Thread Philippe Mathieu-Daudé
Peripherals are mapped at physical address on busses. Only CPU/IOMMU can use virtual addresses. Reviewed-by: Aleksandar Markovic Message-id: <20200510210128.18343-8-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 4 ++-- 1 file changed, 2 insertions

[PULL 10/14] hw/mips/fuloong2e: Fix typo in Fuloong machine name

2020-05-26 Thread Philippe Mathieu-Daudé
We always miswrote the Fuloong machine... Fix its name. Add an machine alias to the previous name for backward compatibility. Suggested-by: Aleksandar Markovic Reviewed-by: Aleksandar Markovic Message-id: <20200526104726.11273-11-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé ---

[PULL 12/14] hw/mips/malta: Add some logging for bad register offset cases

2020-05-26 Thread Philippe Mathieu-Daudé
From: Aleksandar Markovic Log the cases where a guest attempts read or write using bad register offset. Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-id: <20200518200920.17344-21-aleksandar.qemu.de...@gmail.com>

[PULL 13/14] hw/mips/mips_int: De-duplicate KVM interrupt delivery

2020-05-26 Thread Philippe Mathieu-Daudé
Refactor duplicated code in a single place. Reviewed-by: Thomas Huth Message-Id: <20200429082916.10669-2-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/mips/mips_int.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/hw/mips/mips_int.c b/h

[PULL 02/14] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge

2020-05-26 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select the Bonito North Bridge. Reviewed-by: Aleksandar Markovic Signed-off-by: Philippe Mathieu-Daudé Message-id: <20200510210128.18343-6-f4...@amsat.org> Reviewed-by: Huacai Chen Sign

[PATCH 12/14] hw/mips/malta: Add some logging for bad register offset cases

2020-05-26 Thread Philippe Mathieu-Daudé
From: Aleksandar Markovic Log the cases where a guest attempts read or write using bad register offset. Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-id: <20200518200920.17344-21-aleksandar.qemu.de...@gmail.com>

[PATCH 13/14] hw/mips/mips_int: De-duplicate KVM interrupt delivery

2020-05-26 Thread Philippe Mathieu-Daudé
Refactor duplicated code in a single place. Reviewed-by: Thomas Huth Message-Id: <20200429082916.10669-2-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/mips/mips_int.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/hw/mips/mips_int.c b/h

[PATCH 07/14] hw/pci-host/bonito: Better describe the I/O CS regions

2020-05-26 Thread Philippe Mathieu-Daudé
Better describe the I/O CS regions, add the ROMCS region. Reviewed-by: Aleksandar Markovic Message-id: <20200510210128.18343-11-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --gi

[PATCH 09/14] hw/mips/fuloong2e: Move code and update a comment

2020-05-26 Thread Philippe Mathieu-Daudé
Move the RAM-related call closer to the RAM creation block, rename the ROM comment. Reviewed-by: Huacai Chen Message-id: <20200510210128.18343-4-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/mips/mips_fulong2e.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

[PATCH 14/14] MAINTAINERS: Change Aleksandar Rikalo's email address

2020-05-26 Thread Philippe Mathieu-Daudé
From: Aleksandar Markovic Aleksandar Rikalo wants to use a different email address from now on. Reviewed-by: Aleksandar Rikalo Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-id: <20200518200920.17344-18-aleksandar.qemu

[PATCH 05/14] hw/pci-host/bonito: Map all the Bonito64 I/O range

2020-05-26 Thread Philippe Mathieu-Daudé
ed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 3 +++ hw/pci-host/Kconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index b90e5a636d..f09bb1c6a8 100644 --- a/hw/pci-host/bonito.c +++ b/hw/pci-host/bonito.c @@ -48,6 +48,7 @@ #i

[PATCH 03/14] hw/pci-host/bonito: Fix DPRINTF() format strings

2020-05-26 Thread Philippe Mathieu-Daudé
Reviewed-by: Huacai Chen Message-id: <20200510210128.18343-7-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index f212796044..b874468ea6

[PATCH 00/14] hw/mips: patch queue for 2020-05-26

2020-05-26 Thread Philippe Mathieu-Daudé
ing for bad register offset cases MAINTAINERS: Change Aleksandar Rikalo's email address Huacai Chen (1): MAINTAINERS: Add Huacai Chen as fuloong2e co-maintainer Philippe Mathieu-Daudé (10): hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge hw/pci-host/bonito: Fix DPRI

[PATCH 02/14] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge

2020-05-26 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select the Bonito North Bridge. Reviewed-by: Aleksandar Markovic Signed-off-by: Philippe Mathieu-Daudé Message-id: <20200510210128.18343-6-f4...@amsat.org> Reviewed-by: Huacai Chen Sign

[PATCH 10/14] hw/mips/fuloong2e: Fix typo in Fuloong machine name

2020-05-26 Thread Philippe Mathieu-Daudé
We always miswrote the Fuloong machine... Fix its name. Add an machine alias to the previous name for backward compatibility. Suggested-by: Aleksandar Markovic Message-id: <20200510210128.18343-5-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- docs/system/deprecat

[PATCH 04/14] hw/pci-host/bonito: Map peripheral using physical address

2020-05-26 Thread Philippe Mathieu-Daudé
Peripherals are mapped at physical address on busses. Only CPU/IOMMU can use virtual addresses. Reviewed-by: Aleksandar Markovic Message-id: <20200510210128.18343-8-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 4 ++-- 1 file changed, 2 insertions

[PATCH 08/14] hw/pci-host/bonito: Set the Config register reset value with FIELD_DP32

2020-05-26 Thread Philippe Mathieu-Daudé
Describe some bits of the Config registers fields with the registerfields API. Use the FIELD_DP32() macro to set the BONGENCFG register bits at reset. Reviewed-by: Aleksandar Markovic Message-id: <20200510210128.18343-12-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pc

[PATCH 01/14] MAINTAINERS: Add Huacai Chen as fuloong2e co-maintainer

2020-05-26 Thread Philippe Mathieu-Daudé
From: Huacai Chen I submitted the MIPS/fuloong2e support about ten years ago, and after that I became a MIPS kernel developer. Last year, Philippe Mathieu- Daudé asked me that whether I can be a reviewer of MIPS/fuloong2e, and I promised that I will do some QEMU work in the next year (i.e., 2020

[PATCH 06/14] hw/pci-host/bonito: Map the different PCI ranges more detailled

2020-05-26 Thread Philippe Mathieu-Daudé
Better describe the Bonito64 MEM HI/LO and I/O PCI ranges, add more PCI regions as unimplemented. Message-id: <20200510210128.18343-10-f4...@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 32 1 file changed, 28 insertions

[PATCH 11/14] hw/mips: Rename malta/mipssim/r4k/jazz files

2020-05-26 Thread Philippe Mathieu-Daudé
From: Aleksandar Markovic Machine file names should not have prefix "mips_". Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-id: <20200518200920.17344-22-aleksandar.qemu.de...@gmail.com> [PMD: Fixed Fuloong line conflict due to rebase] Signed-

Re: [PATCH] docs/system: Deprecate raspi2/raspi3 machine aliases

2020-10-26 Thread Philippe Mathieu-Daudé
Ping? (patch Acked). On 10/19/20 10:21 AM, Philippe Mathieu-Daudé wrote: Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b. As more Raspberry Pi 2/3 models are emulated, in order to avoid

[PATCH-for-5.1] .travis.yml: Deprecate it in favor of GitLab CI

2020-08-04 Thread Philippe Mathieu-Daudé
As of QEMU 5.2 we prefer to focus our CI development on GitLab. Mark Travis-CI as deprecated (adding a big warning). Signed-off-by: Philippe Mathieu-Daudé --- docs/system/deprecated.rst | 11 +++ .travis.yml| 7 +++ 2 files changed, 18 insertions(+) diff --git

Re: [PATCH v5 11/20] pc_basic_device_init: pass PCMachineState

2020-07-02 Thread Philippe Mathieu-Daudé
On 7/2/20 3:25 PM, Gerd Hoffmann wrote: > Need access to pcms for pcspk initialization. > Just preparation, no functional change. > > Signed-off-by: Gerd Hoffmann > --- > include/hw/i386/pc.h | 3 ++- > hw/i386/pc.c | 3 ++- > hw/i386/pc_piix.c| 2 +- > hw/i386/pc_q35.c | 2 +- >

[RFC PATCH 1/2] hw/sd/ssi-sd: Deprecate the SPI to SD card 'adapter'

2020-07-05 Thread Philippe Mathieu-Daudé
. Deprecate it. Signed-off-by: Philippe Mathieu-Daudé --- docs/system/deprecated.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst index 47f84be8e0..5e67d7f3e0 100644 --- a/docs/system/deprecated.rst +++ b/docs/system/deprecated.rst

[RFC PATCH 2/2] hw/sd/sdcard: Deprecate the SPI mode

2020-07-05 Thread Philippe Mathieu-Daudé
SD cards be used with SPI, SD or MMC protocol. Unfortunately, maintaining the SPI protocol make improving the MMC mode very difficult. As of 2020 users are more interested in using cards with the MMC protocol. Signed-off-by: Philippe Mathieu-Daudé --- docs/system/deprecated.rst | 5 + 1

[RFC PATCH 0/2] hw/sd: Deprecate the SPI mode and the SPI to SD adapter

2020-07-05 Thread Philippe Mathieu-Daudé
of it! https://www.mail-archive.com/qemu-devel@nongnu.org/msg720089.html I'm still posting this as RFC to discuss, but I'm reconsiderating keeping this mode a bit more. Philippe Mathieu-Daudé (2): hw/sd/ssi-sd: Deprecate the SPI to SD card 'adapter' hw/sd/sdcard: Deprecate the SPI mode docs

Re: [RFC PATCH 0/2] hw/sd: Deprecate the SPI mode and the SPI to SD adapter

2020-07-06 Thread Philippe Mathieu-Daudé
On 7/6/20 6:41 PM, Alistair Francis wrote: > On Sun, Jul 5, 2020 at 3:08 PM Philippe Mathieu-Daudé wrote: >> >> I tried to maintain the SPI mode because it is useful in >> tiny embedded devices, and thought it would be helpful for >> the AVR MCUs. >> As AVR w

Re: [RFC PATCH 0/2] hw/sd: Deprecate the SPI mode and the SPI to SD adapter

2020-07-10 Thread Philippe Mathieu-Daudé
On 7/10/20 11:27 AM, Bin Meng wrote: > Hi Philippe, > > On Mon, Jul 6, 2020 at 6:07 AM Philippe Mathieu-Daudé wrote: >> >> I tried to maintain the SPI mode because it is useful in >> tiny embedded devices, and thought it would be helpful for >> the AVR MCUs.

Re: [PATCH v3 11/19] audio: deprecate -soundhw pcspk

2020-06-22 Thread Philippe Mathieu-Daudé
On 6/22/20 2:59 PM, Thomas Huth wrote: > On 22/06/2020 13.29, Gerd Hoffmann wrote: >> Add deprecation message to the audio init function. >> >> Factor out audio initialization and call that from >> both audio init and realize, so setting audiodev via >> -global is enough to properly initialize

Re: [PATCH] Deprecate pmem=on with non-DAX capable backend file

2020-12-29 Thread Philippe Mathieu-Daudé
> > #define HUGETLBFS_MAGIC 0x958458f6 > > @@ -166,6 +167,8 @@ void *qemu_ram_mmap(int fd, > "crash.\n", file_name); > g_free(proc_link); > g_free(file_name); > +

[PATCH] docs/system: Remove deprecated 'fulong2e' machine alias

2021-01-06 Thread Philippe Mathieu-Daudé
The 'fulong2e' machine alias has been marked as deprecated since QEMU v5.1 (commit c3a09ff68dd, the machine is renamed 'fuloong2e'). Time to remove it now. Signed-off-by: Philippe Mathieu-Daudé --- docs/system/deprecated.rst | 5 - docs/system/removed-features.rst | 5 + hw/mips

Re: [PATCH] docs/system: Remove deprecated 'fulong2e' machine alias

2021-01-07 Thread Philippe Mathieu-Daudé
On 1/6/21 7:46 PM, Philippe Mathieu-Daudé wrote: > The 'fulong2e' machine alias has been marked as deprecated since > QEMU v5.1 (commit c3a09ff68dd, the machine is renamed 'fuloong2e'). > Time to remove it now. > > Signed-off-by: Philippe Mathieu-Daudé > --- > docs/

[PULL 17/66] target/mips/mips-defs: Rename ISA_MIPS32R5 as ISA_MIPS_R5

2021-01-07 Thread Philippe Mathieu-Daudé
The MIPS ISA release 5 is common to 32/64-bit CPUs. To avoid holes in the insn_flags type, update the definition with the next available bit. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210104221154.3127610-15-f4...@amsat.org> --- target/mip

[PULL 18/66] target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6

2021-01-07 Thread Philippe Mathieu-Daudé
The MIPS ISA release 6 is common to 32/64-bit CPUs. To avoid holes in the insn_flags type, update the definition with the next available bit. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210104221154.3127610-16-f4...@amsat.org> --- target/mips/inte

[PULL 15/66] target/mips/mips-defs: Rename ISA_MIPS32R2 as ISA_MIPS_R2

2021-01-07 Thread Philippe Mathieu-Daudé
The MIPS ISA release 2 is common to 32/64-bit CPUs. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210104221154.3127610-13-f4...@amsat.org> --- target/mips/internal.h | 2 +- target/mips/mips-defs.h| 4 +- linux-user/mips/cpu_loop.c

[PULL 12/66] target/mips/mips-defs: Use ISA_MIPS32R5 definition to check Release 5

2021-01-07 Thread Philippe Mathieu-Daudé
Use the single ISA_MIPS32R5 definition to check if the Release 5 ISA is supported, whether the CPU support 32/64-bit. For now we keep '32' in the definition name, we will rename it as ISA_MIPS_R5 in few commits. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id

[PULL 13/66] target/mips/mips-defs: Use ISA_MIPS32R6 definition to check Release 6

2021-01-07 Thread Philippe Mathieu-Daudé
Use the single ISA_MIPS32R6 definition to check if the Release 6 ISA is supported, whether the CPU support 32/64-bit. For now we keep '32' in the definition name, we will rename it as ISA_MIPS_R6 in few commits. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id

[PULL 14/66] target/mips/mips-defs: Rename ISA_MIPS32 as ISA_MIPS_R1

2021-01-07 Thread Philippe Mathieu-Daudé
The MIPS ISA release '1' is common to 32/64-bit CPUs. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210104221154.3127610-12-f4...@amsat.org> --- target/mips/internal.h | 2 +- target/mips/mips-defs.h | 4 +-- target/mips/translate.

[PULL 26/66] target/mips: Move mmu_init() functions to tlb_helper.c

2021-01-07 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20201206233949.3783184-15-f4...@amsat.org> --- target/mips/internal.h | 1 + target/mips/tlb_helper.c | 46 ++ target/mips/translate_init.c.in

[PULL 22/66] target/mips: Remove consecutive CONFIG_USER_ONLY ifdefs

2021-01-07 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20201214183739.500368-5-f4...@amsat.org> --- target/mips/helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/mips/helper.c b/target/mips/helper.c index 92bd3fb8550..cfb6d82fd33 100644 --- a/

[PULL 24/66] target/mips: Rename helper.c as tlb_helper.c

2021-01-07 Thread Philippe Mathieu-Daudé
This file contains functions related to TLB management, rename it as 'tlb_helper.c'. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20201206233949.3783184-13-f4...@amsat.org> --- target/mips/{helper.c => tlb_helper.c} | 2 +- target/mips/me

[PULL 19/66] target/mips: Inline cpu_state_reset() in mips_cpu_reset()

2021-01-07 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20201214183739.500368-2-f4...@amsat.org> --- target/mips/cpu.c | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/target/mips/cpu.c b/target/mips/cpu.c

[PULL 21/66] target/mips: Add !CONFIG_USER_ONLY comment after #endif

2021-01-07 Thread Philippe Mathieu-Daudé
To help understand ifdef'ry, add comment after #endif. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20201214183739.500368-4-f4...@amsat.org> --- target/mips/helper.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/

[PULL 25/66] target/mips: Fix code style for checkpatch.pl

2021-01-07 Thread Philippe Mathieu-Daudé
We are going to move this code, fix its style first. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20201206233949.3783184-14-f4...@amsat.org> --- target/mips/translate_init.c.inc | 36 1 file changed, 18 insertions(

[PULL 20/66] target/mips: Extract FPU helpers to 'fpu_helper.h'

2021-01-07 Thread Philippe Mathieu-Daudé
Extract FPU specific helpers from "internal.h" to "fpu_helper.h". Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20201120210844.2625602-2-f4...@amsat.org> --- target/mips/fpu_helper.h | 59 ++

[PULL 16/66] target/mips/mips-defs: Rename ISA_MIPS32R3 as ISA_MIPS_R3

2021-01-07 Thread Philippe Mathieu-Daudé
The MIPS ISA release 3 is common to 32/64-bit CPUs. To avoid holes in the insn_flags type, update the definition with the next available bit. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210104221154.3127610-14-f4...@amsat.org> --- target/mip

[PULL 60/66] target/mips: Convert Rel6 CACHE/PREF opcodes to decodetree

2021-01-07 Thread Philippe Mathieu-Daudé
CACHE/PREF opcodes have been removed from the Release 6. Add a single decodetree entry for the opcodes, triggering Reserved Instruction if ever used. Remove unreachable check_insn_opc_removed() calls. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id

[PULL 58/66] target/mips: Convert Rel6 Special2 opcode to decodetree

2021-01-07 Thread Philippe Mathieu-Daudé
Special2 opcode have been removed from the Release 6. Add a single decodetree entry for all the opcode class, triggering Reserved Instruction if ever used. Remove unreachable check_insn_opc_removed() call. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id

  1   2   3   >