From: William Roche
Merging and dump settings are handled by the remap notification
in addition to memory policy and preallocation.
Signed-off-by: William Roche
---
system/physmem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/system/physmem.c b/system/physmem.c
index 9fc74a5699..c0bfa
From: David Hildenbrand
Notify registered listeners about the remap at the end of
qemu_ram_remap() so e.g., a memory backend can re-apply its
settings correctly.
Signed-off-by: David Hildenbrand
Signed-off-by: William Roche
---
hw/core/numa.c | 11 +++
include/exec/ramlist.h |
From: David Hildenbrand
Let's register a RAM block notifier and react on remap notifications.
Simply re-apply the settings. Exit if something goes wrong.
Note: qemu_ram_remap() will not remap when RAM_PREALLOC is set. Could be
that hostmem is still missing to update that flag ...
Signed-off-by:
From: William Roche
Repair poisoned memory location(s), calling ram_block_discard_range():
punching a hole in the backend file when necessary and regenerating
a usable memory.
If the kernel doesn't support the madvise calls used by this function
and we are dealing with anonymous memory, fall back
On 14/12/24 06:29, Richard Henderson wrote:
On 12/13/24 21:44, Pierrick Bouvier wrote:
Hi Richard,
On 12/13/24 13:47, Richard Henderson wrote:
Hi,
Several of the recent contrib/plugins/ patches do not build on e.g.
arm32.
All of the issues are related to casting between pointers and
uint64_
On 14/12/24 10:17, Thomas Huth wrote:
The NeXT-Cube does not have a CD-ROM drive by default, and the
kernel does not seem to deal with the empty drive very well, so
let's disable the CD-ROM drive for this machine.
Signed-off-by: Thomas Huth
---
hw/m68k/next-cube.c | 1 +
1 file changed, 1 in
On 12/12/24 12:45, Mark Cave-Ayland wrote:
Since the ESCC device exists within the memory range of the next.scr memory
region, map
the ESCC device registers as a subregion of the next.scr memory region instead
of
directly to the system address space.
Signed-off-by: Mark Cave-Ayland
Reviewed-b
On 12/12/24 12:45, Mark Cave-Ayland wrote:
Move the ESP SCSI and SCSI CSR registers to the new next.scsi container memory
region.
Signed-off-by: Mark Cave-Ayland
---
hw/m68k/next-cube.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé
On 14/12/24 07:10, Thomas Huth wrote:
Am Thu, 12 Dec 2024 11:45:57 +
schrieb Mark Cave-Ayland :
Since the ESCC is part of the next-pc device, move the ESCC to be a QOM child
of the next-pc device.
Signed-off-by: Mark Cave-Ayland
---
hw/m68k/next-cube.c | 54 ++---
> On Dec 13, 2024, at 2:14 PM, Richard Henderson
> wrote:
>
> Signed-off-by: Richard Henderson
Reviewed-by: Jagannathan Raman
> ---
> hw/remote/proxy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/remote/proxy.c b/hw/remote/proxy.c
> index 302a0a4d4d..6f84fdd
On 12/13/24 20:30, Richard Henderson wrote:
Signed-off-by: Richard Henderson
For the aspeed part,
Reviewed-by: Cédric Le Goater
Thanks,
C.
---
hw/watchdog/sbsa_gwdt.c | 2 +-
hw/watchdog/wdt_aspeed.c | 2 +-
hw/watchdog/wdt_imx2.c | 2 +-
3 files changed, 3 insertions(+), 3 delet
On 12/13/24 20:29, Richard Henderson wrote:
Signed-off-by: Richard Henderson
Reviewed-by: Cédric Le Goater
Thanks,
C.
---
hw/vfio/ap.c | 2 +-
hw/vfio/ccw.c | 2 +-
hw/vfio/pci.c | 4 ++--
hw/vfio/platform.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
On 12/12/24 12:45, Mark Cave-Ayland wrote:
Move the timer MMIO accesses to a separate memory region on the next-pc device
instead of being part of the next.scr MMIO memory region.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Thomas Huth
---
hw/m68k/next-cube.c | 63 ++
On 12/12/24 12:46, Mark Cave-Ayland wrote:
The next.scr memory is now effectively unused, however there are 3 separate
region
accesses still logged that occur when booting a NeXTStep disk image. Use the
empty_slot device to capture and ignore memory accesses to these 3 memory
regions.
Signed-o
On 12/12/24 12:46, Mark Cave-Ayland wrote:
Move the NeXTState, next_dma and TYPE_NEXT_MACHINE definition to the same area
at the top of next-cube.c.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Thomas Huth
---
hw/m68k/next-cube.c | 64 ++---
1 file ch
On Fri, 13 Dec 2024 at 04:42, Bibo Mao wrote:
>
> The following changes since commit a5ba0a7e4e150d1350a041f0d0ef9ca6c8d7c307:
>
> Merge tag 'pull-aspeed-20241211' of https://github.com/legoater/qemu into
> staging (2024-12-11 15:16:47 +)
>
> are available in the Git repository at:
>
> ht
On 12/12/24 12:46, Mark Cave-Ayland wrote:
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Thomas Huth
---
hw/m68k/next-cube.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
+static void next_rtc_reset_hold(Object *obj, ResetType type)
+{
+NeXTRTC *rtc = NEXT_R
On 12/12/24 12:46, Mark Cave-Ayland wrote:
This series has involved rewriting and/or updating a considerable part of the
next-cube emulation so update the copyright in next-cube.c to reflect this.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Thomas Huth
---
hw/m68k/next-cube.c | 1 +
1 file
On 12/12/24 12:46, Mark Cave-Ayland wrote:
Signed-off-by: Mark Cave-Ayland
Acked-by: Thomas Huth
---
hw/m68k/next-cube.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
From: William Roche
In case of a large page impacted by a memory error, enhance
the existing Qemu error message which indicates that the error
is injected in the VM, adding "on lost large page SIZE@ADDR".
Include also a similar message to the ARM platform.
In the case of a large page impacted,
From: David Hildenbrand
We want to reuse the functionality when remapping or resizing RAM.
Signed-off-by: David Hildenbrand
Signed-off-by: William Roche
---
backends/hostmem.c | 155 -
1 file changed, 82 insertions(+), 73 deletions(-)
diff --git a/
From: William Roche
Hello David,
Here is an new version of our code and an updated description of the
patch set:
---
This set of patches fixes several problems with hardware memory errors
impacting hugetlbfs memory backed VMs and the generic memory recovery
on VM reset.
When using hugetlbfs la
From: William Roche
The list of hwpoison pages used to remap the memory on reset
is based on the backend real page size. When dealing with
hugepages, we create a single entry for the entire page.
Co-developed-by: David Hildenbrand
Signed-off-by: William Roche
---
accel/kvm/kvm-all.c |
On 2024-12-13 14:30, Richard Henderson wrote:
Signed-off-by: Richard Henderson
Reviewed-by: Jason Andryuk
On 2024-12-13 14:06, Richard Henderson wrote:
xen_block_prop_vdev is not used outside the file.
Signed-off-by: Richard Henderson
Reviewed-by: Jason Andryuk
On 2024-12-13 14:30, Richard Henderson wrote:
Signed-off-by: Richard Henderson
Reviewed-by: Jason Andryuk
Am 13. Dezember 2024 19:07:04 UTC schrieb Richard Henderson
:
>Signed-off-by: Richard Henderson
>---
> hw/ide/ahci.c| 2 +-
> hw/ide/cf.c | 2 +-
> hw/ide/cmd646.c | 2 +-
> hw/ide/ide-dev.c | 6 +++---
> hw/ide/isa.c | 2 +-
> hw/ide/macio.c | 2 +-
> hw/ide/mmio.c| 2 +-
> 7 fil
Am 13. Dezember 2024 19:06:30 UTC schrieb Richard Henderson
:
>Since d36f165d952 (qdev: make properties array "const"), we can
>define our Property structure const. Do this across the entire tree.
>
>There are a few other minor changes:
> - Two instances where it was obvious that an empty pro
On Fri, Dec 13, 2024 at 01:07:36PM -0600, Richard Henderson wrote:
> Signed-off-by: Richard Henderson
> ---
> hw/tricore/tc27x_soc.c | 2 +-
> hw/tricore/tricore_testdevice.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Bastian Koppelmann
Cheers,
Bastian
The NeXT-Cube does not have a CD-ROM drive by default, and the
kernel does not seem to deal with the empty drive very well, so
let's disable the CD-ROM drive for this machine.
Signed-off-by: Thomas Huth
---
hw/m68k/next-cube.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/m68k/next-cube
On 12/13/24 20:06, Richard Henderson wrote:
Signed-off-by: Richard Henderson
Reviewed-by: Cédric Le Goater
Thanks,
C.
---
hw/adc/aspeed_adc.c | 2 +-
hw/adc/npcm7xx_adc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/adc/aspeed_adc.c b/hw/adc/aspeed_adc.c
On Friday, December 13, 2024 8:06:46 PM CET Richard Henderson wrote:
> Signed-off-by: Richard Henderson
> ---
Reviewed-by: Christian Schoenebeck
> hw/9pfs/virtio-9p-device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p
On 12/13/24 20:07, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
hw/misc/a9scu.c | 2 +-
hw/misc/allwinner-h3-dramc.c | 2 +-
hw/misc/allwinner-r40-dramc.c| 2 +-
hw/misc/allwinner-sid.c | 2 +-
hw/misc/applesmc.c | 2 +-
hw/
On 12/13/24 20:06, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
hw/arm/armsse.c| 8
hw/arm/armv7m.c| 4 ++--
hw/arm/aspeed_soc_common.c | 2 +-
hw/arm/bcm2836.c | 2 +-
hw/arm/fsl-imx25.c | 2 +-
hw/arm/fsl-imx6.c
On 12/13/24 20:07, Richard Henderson wrote:
Signed-off-by: Richard Henderson
Reviewed-by: Cédric Le Goater
Thanks,
C.
---
hw/i2c/aspeed_i2c.c | 4 ++--
hw/i2c/core.c| 2 +-
hw/i2c/i2c_mux_pca954x.c | 2 +-
hw/i2c/omap_i2c.c| 2 +-
4 files changed, 5 insert
On 12/13/24 20:07, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
hw/net/allwinner-sun8i-emac.c | 2 +-
hw/net/allwinner_emac.c| 2 +-
hw/net/cadence_gem.c | 2 +-
hw/net/can/xlnx-versal-canfd.c | 2 +-
hw/net/can/xlnx-zynqmp-can.c | 2 +-
hw/net/dp8393
On 12/13/24 20:07, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
hw/timer/a9gtimer.c | 2 +-
hw/timer/allwinner-a10-pit.c | 2 +-
hw/timer/arm_mptimer.c | 2 +-
hw/timer/arm_timer.c | 2 +-
hw/timer/aspeed_timer.c | 2 +-
hw/timer/avr_timer16.c
On 12/13/24 20:07, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
hw/ssi/aspeed_smc.c | 4 ++--
hw/ssi/ibex_spi_host.c| 2 +-
hw/ssi/npcm7xx_fiu.c | 2 +-
hw/ssi/pnv_spi.c | 2 +-
hw/ssi/sifive_spi.c | 2 +-
hw/ssi/ssi.c | 2 +-
h
On 12/13/24 20:07, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
hw/sd/allwinner-sdhost.c | 2 +-
hw/sd/aspeed_sdhci.c | 2 +-
hw/sd/sd.c | 6 +++---
hw/sd/sdhci-pci.c| 2 +-
hw/sd/sdhci.c| 2 +-
5 files changed, 7 insertions(+), 7 del
On 14/12/2024 13:29, Philippe Mathieu-Daudé wrote:
On 12/12/24 12:45, Mark Cave-Ayland wrote:
Move the timer MMIO accesses to a separate memory region on the next-pc device
instead of being part of the next.scr MMIO memory region.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Thomas Huth
---
Am 13. Dezember 2024 19:07:09 UTC schrieb Richard Henderson
:
>Signed-off-by: Richard Henderson
>---
> hw/isa/lpc_ich9.c | 2 +-
> hw/isa/pc87312.c | 2 +-
> hw/isa/piix.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c
>index
On 13/12/2024 19:37, Thomas Huth wrote:
Hi Mark!
Am Thu, 12 Dec 2024 11:45:48 +
schrieb Mark Cave-Ayland :
Change the start of the next.mmio memory region so that it follows on directly
after the next.dma memory region. Increase the address offsets in
next_mmio_read() and next_mmio_writ
On 12/12/2024 17:28, Daniel P. Berrangé wrote:
On Thu, Dec 12, 2024 at 11:46:20AM +, Mark Cave-Ayland wrote:
Signed-off-by: Mark Cave-Ayland
---
hw/m68k/next-cube.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index 1e
On 14/12/2024 13:32, Philippe Mathieu-Daudé wrote:
On 12/12/24 12:46, Mark Cave-Ayland wrote:
The next.scr memory is now effectively unused, however there are 3 separate
region
accesses still logged that occur when booting a NeXTStep disk image. Use the
empty_slot device to capture and ignore
On 14/12/2024 06:08, Thomas Huth wrote:
Am Thu, 12 Dec 2024 11:46:11 +
schrieb Mark Cave-Ayland :
This is to allow the RTC functionality to be maintained within its own separate
device rather than as part of the next-pc device.
Signed-off-by: Mark Cave-Ayland
---
hw/m68k/next-cube.c |
On 14/12/2024 06:10, Thomas Huth wrote:
Am Thu, 12 Dec 2024 11:45:57 +
schrieb Mark Cave-Ayland :
Since the ESCC is part of the next-pc device, move the ESCC to be a QOM child
of the next-pc device.
Signed-off-by: Mark Cave-Ayland
---
hw/m68k/next-cube.c | 54 ++
On 14/12/2024 09:17, Thomas Huth wrote:
The NeXT-Cube does not have a CD-ROM drive by default, and the
kernel does not seem to deal with the empty drive very well, so
let's disable the CD-ROM drive for this machine.
Signed-off-by: Thomas Huth
---
hw/m68k/next-cube.c | 1 +
1 file changed, 1
+ Stefan
On 12/12/2024 10:18 PM, Brian Cain wrote:
The following changes since commit a5ba0a7e4e150d1350a041f0d0ef9ca6c8d7c307:
Merge tag 'pull-aspeed-20241211' of https://github.com/legoater/qemu into
staging (2024-12-11 15:16:47 +)
are available in the Git repository at:
https://
48 matches
Mail list logo