Jason Wang writes:
> On Sat, May 7, 2022 at 2:58 PM Paolo Bonzini wrote:
>>
>> On 5/7/22 08:53, Jason Wang wrote:
>> > On Sat, May 7, 2022 at 2:46 PM Paolo Bonzini wrote:
>> >>
>> >> On 5/7/22 07:05, Jason Wang wrote:
>> If it was generated by something in the tree, it should not be
Markus Armbruster writes:
> Header guard symbols should match their file name to make guard
> collisions less likely.
>
> Cleaned up with scripts/clean-header-guards.pl, followed by some
> renaming of new guard symbols picked by the script to better ones.
>
> Signed-off-by: Markus Armbruster
Hi Peter and maintainers,
On 5/3/22 10:02 PM, Gavin Shan wrote:
When the CPU-to-NUMA association isn't provided by user, the default NUMA
node ID for the specific CPU is returned from virt_get_default_cpu_node_id().
Unfortunately, the default NUMA node ID breaks socket boundary and leads to
the
Hi, Lei
I would appreciate it if you could review this patch!
On 4/28/22 21:59, zhenwei pi wrote:
There are two parts in this patch:
1, support akcipher service by cryptodev-builtin driver
2, virtio-crypto driver supports akcipher service
In principle, we should separate this into two
/qemu.git tags/qemu-sparc-20220508
for you to fetch changes up to 1f110516190f146df40f49aef2f1ef5903b8f540:
artist: only render dirty scanlines on the display surface (2022-05-08
18:52:37 +0100)
qemu-sparc queue
- HPPA general
This macro is unused and so can simply be removed.
Signed-off-by: Mark Cave-Ayland
Message-Id: <20220504153708.10352-3-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Peter Maydell
Reviewed-by: Helge Deller
Reviewed-by: Sven Schnelle
Signed-off-by: Mark Cave-Ayland
---
hw/display/artist.c | 6
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-51-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/machine.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
The framebuffer_update_display() function returns the dirty scanlines that were
touched since the last display update, however artist_update_display() always
calls
dpy_gfx_update() with start and end scanlines of 0 and s->height causing the
entire display surface to be rendered on every update.
Ensure that subsequent patches do not cause checkpatch to fail and also tidy up
extra/missing newlines.
Signed-off-by: Mark Cave-Ayland
Message-Id: <20220504153708.10352-2-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Peter Maydell
Reviewed-by: Helge Deller
Reviewed-by: Sven Schnelle
There is no need for a separate function to set the machine class properties
separately from the others.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-50-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
Now that there are no longer any devices in hw/hppa the trace-events file is
empty and can be removed.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-46-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
This file is now just a simple wrapper that includes hppa_hardware.h so remove
the file completely, and update its single user in machine.c to include
hppa_hardware.h directly.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id:
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-34-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c| 7 ---
hw/hppa/machine.c | 5 +
2 files changed, 5 insertions(+), 7
Move the LASI device implementation from hw/hppa to hw/misc so that it is
located with all the other miscellaneous devices.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-43-mark.cave-ayl...@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland
---
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-42-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/hppa_sys.h | 3 ---
hw/hppa/lasi.h | 4
hw/hppa/machine.c | 2 ++
hw/hppa/pci.c
Now that all of the LASI devices are mapped by the board, this parameter is no
longer required.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-38-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-49-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/machine.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This is to allow us to decouple the LASI device from the board logic. If it is
decided later that this value needs to be configurable then it can easily be
converted to a qdev property.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id:
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-35-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c| 6 --
hw/hppa/machine.c | 6 ++
2 files changed, 6 insertions(+), 6
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-33-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/hppa_sys.h | 3 ++-
hw/hppa/lasi.c | 4 ++--
hw/hppa/machine.c | 3 ++-
3 files changed, 6
Now that the board configuration is in one place, the define is only needed when
wiring up the board in machine.c.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-47-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-36-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c| 8
hw/hppa/machine.c | 7 +++
2 files changed, 7 insertions(+), 8
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-37-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c| 5 -
hw/hppa/machine.c | 5 +
2 files changed, 5 insertions(+), 5
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-31-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git
Move the DINO device implementation from hw/hppa to hw/pci-host so that it is
located with all the other PCI host bridges.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-23-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by:
The functions and definitions in this file are not used anywhere within the
generic hppa machine.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-45-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
Instead of generating the offset based upon the physical address of the
register, add constants for each of the device registers to lasi.h and
update lasi.c to use them.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-40-mark.cave-ayl...@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-29-mark.cave-ayl...@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c | 31 ---
hw/hppa/lasi.h | 9 +
2 files changed, 13 insertions(+), 27 deletions(-)
The memory region only has one user which is for ensuring accesses to the ISA
bus memory do not fault.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-44-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-30-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c | 2 ++
hw/hppa/lasi.h | 2 ++
2 files changed, 4 insertions(+)
diff --git
This is to allow us to decouple the DINO device from the board logic.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-22-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.h | 5
Move the simplified lasi_initfn() back to machine.c whilst also renaming it
back to its original lasi_init() name.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-39-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-27-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-17-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 2 ++
hw/hppa/dino.h | 2 ++
2 files changed, 4 insertions(+)
diff --git
Now that dino_init() is completely decoupled from dino.c it can be moved to
machine.c with the rest of the board configuration.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-20-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
The existing code checks for serial_hd(1) but sets the LASI serial port chardev
to serial_hd(0). Use serial_hd(1) for the LASI serial port and also set the
serial port endian to DEVICE_BIG_ENDIAN (which also matches the endian of the
existing serial port).
Signed-off-by: Mark Cave-Ayland
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-24-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/hppa/lasi.c
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-15-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c| 3 ---
hw/hppa/machine.c | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
This makes it unnecessary to allocate a separate IRQ for the serial port.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-18-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 8
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-28-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c | 44 +-
hw/hppa/lasi.h | 58
This is to allow the DINO IRQs to be defined as qdev GPIOs.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-16-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.h | 12
1 file
According to the comments in dino.c the timer IRQ is unused, so remove the empty
dino_set_timer_irq() handler function and simply pass NULL to
mc146818_rtc_init()
in machine.c instead.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id:
This is in preparation for using more qdev APIs during the configuration of the
HPPA generic machine.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-14-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
The device register should be mapped directly by the board code.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-26-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/lasi.c| 7 +++
DINO refers to the GSC-PCI bridge device which will soon be handled separately,
however the QEMU HPPA machine is actually based upon the HPPA B160L as indicated
by the Linux kernel dmesg output when booted in qemu-system-hppa and the QEMU
MAINTAINERS file.
Update the machine configuration to use
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-7-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/hppa/dino.c
This allows access to the PCI bus without having to reference parent_obj
directly.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-11-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 7
This is to allow access to DinoState from outside dino.c. With the changes to
the headers it is now possible to remove the duplicate definition for
TYPE_DINO_PCI_HOST_BRIDGE from hppa_sys.h.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id:
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-4-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-9-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git
Create a new lasi_init() instance initialisation function and move the LASI
memory region initialisation into it. Rename the existing lasi_init() function
to lasi_initfn() for now.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id:
This is to allow us to decouple the DINO device from the board logic. The choice
of using a hard-coded constant (along with a comment) is to match how this is
already done for toc_addr. If it is decided later that these values need to be
configurable then they can easily be converted to qdev
Use a QOM cast in both dino_chip_read_with_attrs() and
dino_chip_write_with_attrs()
instead of directly referencing parent_obj.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-10-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-3-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 44 +---
1 file changed, 29 insertions(+), 15
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-5-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff
Add a new dino_pcihost_unrealize() function to remove the address space when the
device is unrealized.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-8-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-6-mark.cave-ayl...@ilande.co.uk>
Reviewed-by: Richard Henderson
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 12
1 file changed, 12 insertions(+)
diff --git a/hw/hppa/dino.c
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Richard Henderson
Acked-by: Helge Deller
Message-Id: <20220504092600.10048-2-mark.cave-ayl...@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland
---
hw/hppa/dino.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/hppa/dino.c
The following changes since commit f1336649156cf57f5d874a98e619fb362e3fcb59:
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
(2022-05-07 06:14:16 -0500)
are available in the Git repository at:
https://github.com/mcayland/qemu.git tags/qemu-sparc-20220508
for you
On 8. May 2022, at 14:08, Peter Maydell wrote:
>
> On Sat, 7 May 2022 at 14:44, Chris Howard wrote:
>>
>> Hi, I’m writing a simple debugger in assembly code for the Raspberry Pi 3B
>> (in aarch64).
>>
>> I’m using QEMU 7.0.0. Everything is running in EL1. (I have MDE and KDE set
>> in
On 8. May 2022, at 14:18, Peter Maydell wrote:
> On Sat, 7 May 2022 at 15:18, Chris Howard wrote:
>> PS. In plain gdb (ie. no nice user interface) a large number (but not all)
>> of the system registers gets displayed after each step. It would be nice if
>> these were sorted in some way. At
The 'active' bit passes control over a qTD between the guest and the
controller: set to 1 by guest to enable execution by the controller,
and the controller sets it to '0' to hand back control to the guest.
ehci_state_writeback write two dwords to main memory using DMA:
the third dword of the qTD
If we want to provide an installable rpm in Fedora then yes; but we can leave
distribution to pypi and use a bundled copy in the virtual environment that is
used to run tests.
Paolo
Il 5 maggio 2022 17:57:24 CEST, "Daniel P. Berrangé" ha
scritto:
>On Thu, May 05, 2022 at 05:50:00PM +0200,
On 5/8/22 04:21, Mark Cave-Ayland wrote:
Richard, thanks for taking the time to look over this (rather large) patchset. I've
replied to your comments, and from what I can see the v2 patchset should be fine to merge.
Are you happy for me to go ahead and send a PR with that and the artist fixes?
On Sun, 8 May 2022 at 13:18, Peter Maydell wrote:
>
> Introduction
>
> This document will explain how setup Mutt email client using OAuth2
> (modern authentication) to access your emails.
Argh, sorry about this. I mis-clicked something and pasted a
load of bogus text :-(
-- PMM
Introduction
This document will explain how setup Mutt email client using OAuth2
(modern authentication) to access your emails.
Authentication will be done using "bearer tokens" instead of a
combination of a username and an application password.
You can find more details about bearer tokens and
On Sat, 7 May 2022 at 14:44, Chris Howard wrote:
>
> Hi, I’m writing a simple debugger in assembly code for the Raspberry Pi 3B
> (in aarch64).
>
> I’m using QEMU 7.0.0. Everything is running in EL1. (I have MDE and KDE set
> in MDSCR_EL1).
>
> I’m coming across Unexpected Behaviour when
The comment is based on commit message
ae4d2eb273b167dad748ea4249720319240b1ac2 'xen-platform: add missing disk
unplug option'. Since it seems to describe design decisions and
limitations that still apply it seems worth having.
Signed-off-by: Bernhard Beschow
---
hw/ide/piix.c | 11 +++
This patch series first removes the redundant "piix3-ide-xen" device class and
then moves a XEN-specific helper function from PIIX3 code to XEN code. The idea
is to decouple PIIX3-IDE and XEN and to compile XEN-specific bits only if XEN
support is enabled.
Testing done:
'qemu-system-x86_64 -M pc
This function was declared in a generic and public header, implemented
in a device-specific source file but only used in xen_platform. Given its
'aux' parameter, this function is more xen-specific than piix-specific.
Also, the hardcoded magic constants seem to be generic and related to
PCIIDEState
Commit 0f8445820f11a69154309863960328dda3dc1ad4 'xen: piix reuse pci
generic class init function' already resolved redundant code which in
turn rendered piix3-ide-xen redundant.
Signed-off-by: Bernhard Beschow
---
hw/i386/pc_piix.c | 3 +--
hw/ide/piix.c | 7 ---
2 files changed, 1
Found the same problem using Gnome boxes, as I understand it uses QEMU.
Error I see in gnome boxes when I'm trying to install windows 10 vm:
SYSTEM THREAD EXCEPTION NOT HANDLED
Fresh install of Ubuntu 22.04
CPU: AMD Ryzen 7 1700
The solution posted by asd fghjkl (ryzen27) worked for me too:
Replace slirp_init with slirp_new, so that a more recent cfg.version
can be specified. Only support version 3 of the configuration for
simplicity, corresponding to a minimum slirp version of 4.3.0.
Signed-off-by: Paolo Bonzini
---
meson.build | 2 +-
net/slirp.c | 27
slirp 4.7 introduces a new CFI-friendly timer callback that does
not pass function pointers within libslirp as callbacks for timers.
Check the version number and, if it is new enough, allow using CFI
even with a system libslirp.
Reviewed-by: Samuel Thibault
Reviewed-by: Marc-André Lureau
libslirp 4.7 introduces a CFI-friendly version of the .timer_new callback.
The new callback replaces the function pointer with an enum; invoking the
callback is done with a new function slirp_handle_timer.
Support the new API so that CFI can be made compatible with using a system
libslirp.
Version 4.7 of slirp provides a new timer API that works better with CFI,
together with several other improvements:
* Allow disabling the internal DHCP server !22
* Support Unix sockets in hostfwd !103
* IPv6 DNS proxying support !110
* bootp: add support for UEFI HTTP boot !111
and bugfixes.
Content-Type: text/plain
Up until now, a CFI-enabled build would require slirp to be compiled as
a static library, using the version that is bundled together with QEMU.
This is because slirp registers functions as callbacks for QEMU Timers
and, when using a system-wide shared libslirp, the type
This struct will be extended in the next few patches to support the
new slirp_handle_timer() call. For that we need to store an additional
"int" for each SLIRP timer, in addition to the cb_opaque.
Reviewed-by: Samuel Thibault
Reviewed-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
---
On 07/05/2022 00:44, Murilo Opsfelder Araújo wrote:
On 5/2/22 06:43, Mark Cave-Ayland wrote:
On 30/04/2022 00:31, Murilo Opsfelder Araujo wrote:
When CONFIG_MOS6522 is not set, building ppc64-softmmu target fails:
/usr/bin/ld: libqemu-ppc64-softmmu.fa.p/monitor_misc.c.o:(.data+0x1158):
On 05/05/2022 13:26, Helge Deller wrote:
On 5/4/22 17:37, Mark Cave-Ayland wrote:
Patch 1 updates artist.c to fix some style issues and ensure that artist.c
passes
checkpatch for the remainder of the patchset, whilst patch 2 removes the
ROP8OFF()
macro which is currently unused.
Finally
On 04/05/2022 10:25, Mark Cave-Ayland wrote:
This patchset started off when I noticed that dino.c was accessing parent_obj
directly rather than using a QOM cast. After fixing that I noticed quite a few
other improvements that could be done to bring hppa up to our recommended
coding standards.
On 08/05/2022 04:07, Richard Henderson wrote:
On 5/4/22 04:25, Mark Cave-Ayland wrote:
Move the LASI device implementation from hw/hppa to hw/misc so that it is
located with all the other miscellaneous devices.
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
---
MAINTAINERS
On 08/05/2022 04:04, Richard Henderson wrote:
On 5/4/22 04:25, Mark Cave-Ayland wrote:
Instead of generating the offset based upon the physical address of the
register, add constants for each of the device registers to lasi.h and
update lasi.c to use them.
Signed-off-by: Mark Cave-Ayland
On 08/05/2022 03:50, Richard Henderson wrote:
On 5/4/22 04:25, Mark Cave-Ayland wrote:
Signed-off-by: Mark Cave-Ayland
Acked-by: Helge Deller
---
hw/hppa/lasi.c | 8
hw/hppa/machine.c | 7 +++
2 files changed, 7 insertions(+), 8 deletions(-)
In that it is code
84 matches
Mail list logo