This patch series is a follow-up of my previous patch
"[PATCH v4] hw/rtc/mc146818rtc: Make this rtc device target independent".
It has now been split into multiple patches to ease the review, and some
further patches have been added on top.
The basic idea is to change hw/rtc/mc146818rtc.c into tar
We want to get rid of the "#ifdef TARGET_I386" statements in the mc146818
code, so we need a different way to decide whether the slew tick policy
is available or not. Introduce a new property "slew-tick-policy-available"
which can be set by the machines that support this tick policy.
Signed-off-by
From: Bernhard Beschow
Now that the RTC is created as part of the southbridges it doesn't need
to be an out-parameter any longer.
Signed-off-by: Bernhard Beschow
Reviewed-by: Peter Maydell
Reviewed-by: Michael S. Tsirkin
Message-Id: <20221022150508.26830-12-shen...@gmail.com>
Signed-off-by: T
The only reason for this code being target dependent was the IRQ-counting
related code in rtc_policy_slew_deliver_irq(). Since these functions have
been moved into a new, separate file (kvm_irqcount.c) which is now always
compiled and linked if either APIC or the mc146818 device are required,
and s
The 'slew' lost tick policy is only available on systems with a mc146818
RTC. On other systems, "-rtc driftfix=slew" is currently silently ignored.
Let's emit at least a warning in this case to make the users aware that
there is something wrong in their command line settings.
Signed-off-by: Thomas
These IRQ counting functions will soon be required in binaries that
do not include the APIC code, too, so let's extract them into a
separate file that can be linked independently of the APIC code.
While we're at it, change the apic_* prefix into kvm_* since the
functions are used from the i8259 PI
From: Bernhard Beschow
Just like in the real hardware (and in PIIX4), create the RTC
controllers in the south bridges.
Signed-off-by: Bernhard Beschow
Reviewed-by: Michael S. Tsirkin
Message-Id: <20221022150508.26830-11-shen...@gmail.com>
Signed-off-by: Thomas Huth
---
include/hw/i386/ich9.h
On 21/12/2022 17.59, Bernhard Beschow wrote:
Now that the RTC is created as part of the southbridges it doesn't need
to be an out-parameter any longer.
Signed-off-by: Bernhard Beschow
Reviewed-by: Peter Maydell
Reviewed-by: Michael S. Tsirkin
Message-Id: <20221022150508.26830-12-shen...@gmail
On 02/01/2023 19.25, Bernhard Beschow wrote:
Am 2. Januar 2023 17:03:29 UTC schrieb Thomas Huth :
On 21/12/2022 17.59, Bernhard Beschow wrote:
Just like in the real hardware (and in PIIX4), create the RTC
controllers in the south bridges.
Signed-off-by: Bernhard Beschow
Reviewed-by: Michael
On Thu, Dec 29, 2022 at 12:49:13 +0100, Thomas Huth wrote:
> The HPET setting has been turned into a machine property a while ago
> already, so we should finally do the next step and deprecate the
> legacy CLI option, too.
>
> Signed-off-by: Thomas Huth
> ---
> v2:
> - Rebased to current versio
On 16/12/2022 17.23, Philippe Mathieu-Daudé wrote:
On 16/12/22 15:55, Peter Maydell wrote:
The msys2-32bit job currently seems to run into the 70 minute CI timeout
quite frequently. This successful pass took 61 minutes:
https://gitlab.com/qemu-project/qemu/-/jobs/3479763757
so I don't think it's
The build-system documentation remains the canonical description of
how the whole build system goes together. However we should at least
reference the fact that we use conditional compilation in the coding
style document which I assume is the first document a potential
contributor actually reads (i
Signed-off-by: Laurent Vivier
Acked-by: Michael S. Tsirkin
---
Notes:
v4:
- rework EXPECT_STATE()
- use g_dir_make_tmp()
v3:
- Add "-M none" to avoid error:
"No machine specified, and there is no default"
v2:
- Fix ipv6 free port allocation
- C
From: Marc-André Lureau
socat "PIPE:"" on Windows are named pipes, not fifo path names.
Fixes: commit 68406d10859 ("tests/unit: cleanups for test-io-channel-command")
Signed-off-by: Marc-André Lureau
---
tests/unit/test-io-channel-command.c | 6 ++
1 file changed, 6 insertions(+)
diff --g
From: Marc-André Lureau
docker.py is run during configure, and produces an error: No module
named 'pwd'.
Use a more portable and recommended alternative to lookup the user
"login name".
Signed-off-by: Marc-André Lureau
---
tests/docker/docker.py | 6 +++---
1 file changed, 3 insertions(+), 3
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
tests/qtest/readconfig-test.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/readconfig-test.c b/tests/qtest/readconfig-test.c
index c7a9b0c7dd..9ef870643d 100644
--- a/tests/qtest/readconfig-tes
From: Marc-André Lureau
Manually implement a socketpair() function, using UNIX sockets and
simple peer credential checking.
QEMU doesn't make much use of socketpair, beside vhost-user which is not
available for win32 at this point. However, I intend to use it for
writing some new portable tests.
From: Marc-André Lureau
../hw/usb/ccid-card-emulated.c: In function 'handle_apdu_thread':
../hw/usb/ccid-card-emulated.c:251:24: error: cast from pointer to integer of
different size [-Werror=pointer-to-int-cast]
251 | assert((unsigned long)event > 1000);
Signed-off-by: Marc-A
From: Marc-André Lureau
Hi,
The following series first fixes a few tests on win32. The second part focuses
on 'add_client' support, by limiting its scope to sockets and adding win32
support. Finally, it enables vnc-display test on win32, to exercise the new code
paths and demonstrate its usage.
From: Marc-André Lureau
Whether it is SPICE, VNC, D-Bus, or the socket chardev, they all
actually expect a socket kind or will fail in different ways at runtime.
Throw an error early if the given 'add_client' fd is not a socket, and
close it to avoid leaks.
This allows to replace the close() ca
From: Marc-André Lureau
Now that qtest_qmp_add_client() works on win32, we can enable the VNC
test.
Signed-off-by: Marc-André Lureau
---
tests/qtest/vnc-display-test.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/tests/qtest/vnc-display-test.c b/tests/qtest/vnc-display-test.c
index
From: Marc-André Lureau
A process with enough capabilities can duplicate a socket to QEMU. Add a
QMP command to import it and add it to the monitor fd list, so it can be
later used by other commands.
Note that we actually store the SOCKET in the FD list, appropriate care
must now be taken to use
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
tests/unit/test-io-channel-command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/test-io-channel-command.c
b/tests/unit/test-io-channel-command.c
index 19f72eab96..096224962c 100644
--- a/tests/unit
From: Marc-André Lureau
Use the "get-win32-socket" function to pass an opened socket to QEMU,
instead of using "getfd", which relies on socket ancillary FD message
passing.
Signed-off-by: Marc-André Lureau
---
tests/qtest/libqtest.h | 5 ++---
tests/qtest/libqtest.c | 16 ++--
2 f
* Avihai Horon (avih...@nvidia.com) wrote:
> As part of its error flow, vfio_vmstate_change() accesses
> MigrationState->to_dst_file without any checks. This can cause a NULL
> pointer dereference if the error flow is taken and
> MigrationState->to_dst_file is not set.
>
> For example, this can ha
On 22/12/2022 16.04, Claudio Imbrenda wrote:
This patch adds support for the asynchronous teardown for reboot for
protected VMs.
[...]
+bool s390_pv_vm_try_disable_async(void)
+{
+char tname[VCPU_THREAD_NAME_SIZE];
+QemuThread *t;
+
+if (!kvm_check_extension(kvm_state, KVM_CAP_S390_
On linux user mode, CPUX86State::gdt::base from Different CPUX86State Objects
have same value, It is incorrect! Every CPUX86State::gdt::base Must points to
independent memory space.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1405
Signed-off-by: fanwenjie
---
linux-user/i386/cpu_l
On Tue, 3 Jan 2023 12:27:32 +0100
Thomas Huth wrote:
> On 22/12/2022 16.04, Claudio Imbrenda wrote:
> > This patch adds support for the asynchronous teardown for reboot for
> > protected VMs.
> [...]
> > +bool s390_pv_vm_try_disable_async(void)
> > +{
> > +char tname[VCPU_THREAD_NAME_SIZE];
On 03/01/2023 12.48, Claudio Imbrenda wrote:
On Tue, 3 Jan 2023 12:27:32 +0100
Thomas Huth wrote:
On 22/12/2022 16.04, Claudio Imbrenda wrote:
This patch adds support for the asynchronous teardown for reboot for
protected VMs.
[...]
+bool s390_pv_vm_try_disable_async(void)
+{
+char tnam
On 03/01/2023 12.08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
../hw/usb/ccid-card-emulated.c: In function 'handle_apdu_thread':
../hw/usb/ccid-card-emulated.c:251:24: error: cast from pointer to integer of
different size [-Werror=pointer-to-int-cast]
251 |
On 03/01/2023 12.08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
tests/unit/test-io-channel-command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/test-io-channel-command.c
b/tests/unit/test-io-channel-co
On 03/01/2023 12.08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
tests/qtest/readconfig-test.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/readconfig-test.c b/tests/qtest/readconfig-test.c
index c7
On 03/01/2023 12.08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Use the "get-win32-socket" function to pass an opened socket to QEMU,
instead of using "getfd", which relies on socket ancillary FD message
passing.
Signed-off-by: Marc-André Lureau
---
tests/qtest/libqtest.h |
On 03/01/2023 12.08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Now that qtest_qmp_add_client() works on win32, we can enable the VNC
test.
Signed-off-by: Marc-André Lureau
---
tests/qtest/vnc-display-test.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/tests/qtes
On 3/1/23 12:08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
tests/unit/test-io-channel-command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé
On 3/1/23 12:08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
docker.py is run during configure, and produces an error: No module
named 'pwd'.
Use a more portable and recommended alternative to lookup the user
"login name".
Signed-off-by: Marc-André Lureau
---
tests/docker/do
On 3/1/23 12:08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Whether it is SPICE, VNC, D-Bus, or the socket chardev, they all
actually expect a socket kind or will fail in different ways at runtime.
Throw an error early if the given 'add_client' fd is not a socket, and
close it
Cc'ing more Windows specialists.
On 3/1/23 12:08, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Hi,
The following series first fixes a few tests on win32. The second part focuses
on 'add_client' support, by limiting its scope to sockets and adding win32
support. Finally, it enabl
On a Thursday in 2022, Thomas Huth wrote:
The HPET setting has been turned into a machine property a while ago
already, so we should finally do the next step and deprecate the
legacy CLI option, too.
Signed-off-by: Thomas Huth
---
v2:
- Rebased to current version from master branch / adjusted v
On Tue, Jan 3, 2023 at 9:48 AM Thomas Huth wrote:
> These IRQ counting functions will soon be required in binaries that
> do not include the APIC code, too, so let's extract them into a
> separate file that can be linked independently of the APIC code.
>
> While we're at it, change the apic_* pre
On Tue, Jan 3, 2023 at 9:48 AM Thomas Huth wrote:
> The only reason for this code being target dependent was the IRQ-counting
> related code in rtc_policy_slew_deliver_irq(). Since these functions have
> been moved into a new, separate file (kvm_irqcount.c) which is now always
> compiled and link
On 3/1/23 09:48, Thomas Huth wrote:
The 'slew' lost tick policy is only available on systems with a mc146818
RTC. On other systems, "-rtc driftfix=slew" is currently silently ignored.
Let's emit at least a warning in this case to make the users aware that
there is something wrong in their command
On 3/1/23 09:47, Thomas Huth wrote:
We want to get rid of the "#ifdef TARGET_I386" statements in the mc146818
code, so we need a different way to decide whether the slew tick policy
is available or not. Introduce a new property "slew-tick-policy-available"
which can be set by the machines that su
On 3/1/23 09:47, Thomas Huth wrote:
From: Bernhard Beschow
Now that the RTC is created as part of the southbridges it doesn't need
to be an out-parameter any longer.
Signed-off-by: Bernhard Beschow
Reviewed-by: Peter Maydell
Reviewed-by: Michael S. Tsirkin
Message-Id: <20221022150508.26830-
Hi Chuck,
On 3/1/23 04:15, Chuck Zmudzinski wrote:
On 1/2/23 4:34 PM, Bernhard Beschow wrote:
This series first renders TYPE_PIIX3_XEN_DEVICE redundant and finally removes
it. The motivation is to 1/ decouple PIIX from Xen and 2/ to make Xen in the PC
machine agnostic to the precise southbridge
On 2/1/23 22:35, Bernhard Beschow wrote:
The previous patch unified handling of piix_write_config() accross all
PIIX device models which allows for assigning k->config_write once in the
base class.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix.c | 4 +---
1 file changed, 1 insertion(+), 3
On Tue, Jan 3, 2023 at 9:48 AM Thomas Huth wrote:
> We want to get rid of the "#ifdef TARGET_I386" statements in the mc146818
> code, so we need a different way to decide whether the slew tick policy
> is available or not. Introduce a new property "slew-tick-policy-available"
> which can be set b
On Wed, 21 Dec 2022 at 18:02, Paolo Bonzini wrote:
>
> The following changes since commit d038d2645acabf6f52fd61baeaa021c3ebe97714:
>
> Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging
> (2022-12-16 13:26:09 +)
>
> are available in the Git repository at:
>
> https://
On Tue, Jan 3, 2023 at 2:17 PM Philippe Mathieu-Daudé
wrote:
> Hi Chuck,
>
> On 3/1/23 04:15, Chuck Zmudzinski wrote:
> > On 1/2/23 4:34 PM, Bernhard Beschow wrote:
> >> This series first renders TYPE_PIIX3_XEN_DEVICE redundant and finally
> removes
> >> it. The motivation is to 1/ decouple PIIX
On Mon, 2022-11-14 at 17:13 +0100, Ilya Leoshkevich wrote:
> v1:
> https://lists.nongnu.org/archive/html/qemu-devel/2022-10/msg01824.html
> https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg01073.html
>
> v1 -> v2:
> * Use QEMU_LOCK_GUARD (Alex).
> * Handle TARGET_TB_PCREL (Alex).
> * Su
On Tue, Jan 3, 2023 at 2:32 PM Bernhard Beschow wrote:
>
>
> On Tue, Jan 3, 2023 at 9:48 AM Thomas Huth wrote:
>
>> We want to get rid of the "#ifdef TARGET_I386" statements in the mc146818
>> code, so we need a different way to decide whether the slew tick policy
>> is available or not. Introdu
On 03/01/2023 12.00, Laurent Vivier wrote:
Signed-off-by: Laurent Vivier
Acked-by: Michael S. Tsirkin
---
Notes:
v4:
- rework EXPECT_STATE()
- use g_dir_make_tmp()
v3:
- Add "-M none" to avoid error:
"No machine specified, and there is no default"
On 02/01/2023 11.41, Alessandro Di Federico wrote:
Note: `Makefile` relies on modification dates in the source tree to
detect changes to `meson_options.txt`. However, git does not track
those. Therefore, the following was necessary to regenerate
`meson-buildoptions.sh`:
touch meson_options.
In stream mode, if the server shuts down there is currently
no way to reconnect the client to a new server without removing
the NIC device and the netdev backend (or to reboot).
This patch introduces a reconnect option that specifies a delay
to try to reconnect with the same parameters.
Add a new
On 03/01/2023 15.22, Laurent Vivier wrote:
In stream mode, if the server shuts down there is currently
no way to reconnect the client to a new server without removing
the NIC device and the netdev backend (or to reboot).
This patch introduces a reconnect option that specifies a delay
to try to r
On Mon, 2 Jan 2023 at 05:42, Alessandro Di Federico via
wrote:
>
> Note: `Makefile` relies on modification dates in the source tree to
> detect changes to `meson_options.txt`. However, git does not track
> those. Therefore, the following was necessary to regenerate
> `meson-buildoptions.sh`:
>
>
On 1/3/23 15:28, Thomas Huth wrote:
On 03/01/2023 15.22, Laurent Vivier wrote:
In stream mode, if the server shuts down there is currently
no way to reconnect the client to a new server without removing
the NIC device and the netdev backend (or to reboot).
This patch introduces a reconnect opti
On 1/3/23 15:08, Thomas Huth wrote:
On 03/01/2023 12.00, Laurent Vivier wrote:
Signed-off-by: Laurent Vivier
Acked-by: Michael S. Tsirkin
---
Notes:
v4:
- rework EXPECT_STATE()
- use g_dir_make_tmp()
v3:
- Add "-M none" to avoid error:
"No machine specified
Am 3. Januar 2023 08:47:59 UTC schrieb Thomas Huth :
>We want to get rid of the "#ifdef TARGET_I386" statements in the mc146818
>code, so we need a different way to decide whether the slew tick policy
>is available or not. Introduce a new property "slew-tick-policy-available"
>which can be set b
On Mon, 2 Jan 2023 18:10:24 -0500
Chuck Zmudzinski wrote:
> On 1/2/23 12:46 PM, Michael S. Tsirkin wrote:
> > On Sun, Jan 01, 2023 at 06:52:03PM -0500, Chuck Zmudzinski wrote:
> > > Intel specifies that the Intel IGD must occupy slot 2 on the PCI bus,
> > > as noted in docs/igd-assign.txt in th
On Fri, Dec 30, 2022 at 12:34:54PM +0100, Philippe Mathieu-Daudé wrote:
> Avoid confusing two different things:
> - the WDT I/O region size ('iosize')
> - at which offset the SoC map the WDT ('offset')
> While it is often the same, we can map smaller region sizes
> at larger offsets.
>
> Here we a
On Tue, 3 Jan 2023 09:37:51 -0500
Stefan Hajnoczi wrote:
> I don't understand the issue. Can you describe the steps that cause
> meson-buildoptions.sh to become out-of-sync with meson_options.txt?
>
> This will continue to be a problem in the future. Is there a way to
> fix it permanently?
In M
On Mon, Jan 02, 2023 at 02:31:31PM +0100, Cédric Le Goater wrote:
> On 12/31/22 23:52, Dong, Eddie wrote:
> > > When booting the Zephyr demo in [1] we get:
> > >
> > >aspeed.io: unimplemented device write (size 4, offset 0x185128, value
> > > 0x030f1ff1) <--
> > >aspeed.io: unimplemented d
Makes sense to me.
Reviewed-by: Alessandro Di Federico
On Tue, 3 Jan 2023 10:47:58 +
Alex Bennée wrote:
> +"Templates" and generated code
> +==
> +
> +We make heavy use of C's macro facilities combined with multiple
> +inclusion to generate code. This tends to
On 1/3/23 16:31, Peter Delevoryas wrote:
On Mon, Jan 02, 2023 at 02:31:31PM +0100, Cédric Le Goater wrote:
On 12/31/22 23:52, Dong, Eddie wrote:
When booting the Zephyr demo in [1] we get:
aspeed.io: unimplemented device write (size 4, offset 0x185128, value
0x030f1ff1) <--
aspeed.io:
On Tue, 3 Jan 2023 at 10:26, Alessandro Di Federico wrote:
>
> On Tue, 3 Jan 2023 09:37:51 -0500
> Stefan Hajnoczi wrote:
>
> > I don't understand the issue. Can you describe the steps that cause
> > meson-buildoptions.sh to become out-of-sync with meson_options.txt?
> >
> > This will continue to
On Tue, Jan 03, 2023 at 04:48:14PM +0100, Cédric Le Goater wrote:
> On 1/3/23 16:31, Peter Delevoryas wrote:
> > On Mon, Jan 02, 2023 at 02:31:31PM +0100, Cédric Le Goater wrote:
> > > On 12/31/22 23:52, Dong, Eddie wrote:
> > > > > When booting the Zephyr demo in [1] we get:
> > > > >
> > > > >
On 03/01/2023 13:13, Dr. David Alan Gilbert wrote:
External email: Use caution opening links or attachments
* Avihai Horon (avih...@nvidia.com) wrote:
As part of its error flow, vfio_vmstate_change() accesses
MigrationState->to_dst_file without any checks. This can cause a NULL
pointer deref
On Tue, 20 Dec 2022 14:27:31 -0500
Gregory Price wrote:
> On Tue, Dec 20, 2022 at 03:34:53PM +, Jonathan Cameron wrote:
> > > However I don't think this is successful in creating the dax devices,
> > > and therefore the reconfiguring into ram.
> >
> > Sure. I only bothered testing the it i
The fine grained control would be a precursor to an emulated pooling
device. If you can demonstrate it with a singleton attached device, you
could just implement an exclusivity table in a shared file, and set the
shared memory to a file backend as well. Boom, shared memory pool across
qemu instan
On Fri, 23 Dec 2022 at 17:21, Alex Bennée wrote:
>
> The following changes since commit 222059a0fccf4af3be776fe35a5ea2d6a68f9a0b:
>
> Merge tag 'pull-ppc-20221221' of https://gitlab.com/danielhb/qemu into
> staging (2022-12-21 18:08:09 +)
>
> are available in the Git repository at:
>
> ht
On Tue, 3 Jan 2023 10:51:36 -0500
Stefan Hajnoczi wrote:
> QEMU's Makefile used to a use a technique where it generated
> "timestamp" files and used cmp(1) to check if rebuilding was
> necessary:
> 1. Always generate meson-buildoptions.sh-timestamp.
`meson-buildoptions.sh-timestamp` would be the
Hi Alistair,
On Wed, Dec 28, 2022 at 11:08 AM Alistair Francis wrote:
>
> On Fri, Dec 23, 2022 at 11:14 PM Anup Patel wrote:
> >
> > On Thu, Dec 15, 2022 at 8:55 AM Alistair Francis
> > wrote:
> > >
> > > On Mon, Dec 12, 2022 at 9:12 PM Anup Patel
> > > wrote:
> > > >
> > > > On Mon, Dec 12,
On Wed, 21 Dec 2022 20:24:33 -0800
Ira Weiny wrote:
> The cel_uuid was programatically generated previously because there was
> no static initializer for network order UUIDs.
>
> Use the new network order initializer for cel_uuid. Adjust
> cxl_initialize_mailbox() because it can't fail now.
>
On Wed, 21 Dec 2022 20:24:34 -0800
Ira Weiny wrote:
> The device status register block was defined. However, there were no
> individual registers nor any data wired up.
>
> Define the event status register [CXL 3.0; 8.2.8.3.1] as part of the
> device status register block. Wire up the register
When a BAR is not mapped, the displayed size is shifted by 1 byte:
(qemu) info pci
...
Bus 0, device 11, function 0:
Ethernet controller: PCI device 1022:2000
PCI subsystem :
IRQ 10, pin A
BAR0: I/O at 0x [0x001e].
BAR1: 32
On Wed, 21 Dec 2022 20:24:37 -0800
Ira Weiny wrote:
> CXL has 24 bit unaligned fields which need to be stored to. CXL is
> specified as little endian.
>
> Define st24_le_p() and the supporting functions to store such a field
> from a 32 bit host native value.
>
> The use of b, w, l, q as the s
On 1/3/2023 8:38 AM, Bernhard Beschow wrote:
>
>
> On Tue, Jan 3, 2023 at 2:17 PM Philippe Mathieu-Daudé
> wrote:
>
> Hi Chuck,
>
> On 3/1/23 04:15, Chuck Zmudzinski wrote:
> > On 1/2/23 4:34 PM, Bernhard Beschow wrote:
> >> This series first renders TYPE_PIIX3_XEN_DEVICE redundan
On Mon, Dec 26, 2022 at 12:09:52PM +0800, Jason Wang wrote:
> On Sat, Dec 24, 2022 at 12:26 AM Peter Xu wrote:
> >
> > On Fri, Dec 23, 2022 at 03:48:01PM +0800, Jason Wang wrote:
> > > On Wed, Dec 7, 2022 at 6:13 AM Peter Xu wrote:
> > > >
> > > > It seems not super clear on when iova_tree is use
On Tue, 3 Jan 2023 at 16:12, Alessandro Di Federico wrote:
>
> On Tue, 3 Jan 2023 10:51:36 -0500
> Stefan Hajnoczi wrote:
>
> > QEMU's Makefile used to a use a technique where it generated
> > "timestamp" files and used cmp(1) to check if rebuilding was
> > necessary:
> > 1. Always generate meson
On Thu, 22 Dec 2022 at 21:56, Philippe Mathieu-Daudé wrote:
>
> ARM CPUs fetch instructions in little-endian.
>
> smpboot[] encoded instructions are written in little-endian.
> This is fine on little-endian host, but on big-endian ones
> the smpboot[] array ends swapped. Use the const_le32()
> mac
On Fri, 23 Dec 2022 at 08:50, Alexander Graf wrote:
>
> While trying to make Windows work with GICv3 emulation, I stumbled over
> the fact that it only supports ITT entry sizes that are power of 2 sized.
>
> While the spec allows arbitrary sizes, in practice hardware will always
> expose power of
On Tue, 3 Jan 2023, Philippe Mathieu-Daudé wrote:
When a BAR is not mapped, the displayed size is shifted by 1 byte:
(qemu) info pci
...
Bus 0, device 11, function 0:
Ethernet controller: PCI device 1022:2000
PCI subsystem :
IRQ 10, pin A
BAR0: I/O at 0
(resending with qemu-devel on CC; sorry!)
Hi,
this is with QEMU-7.2.
"docs/specs/acpi_cpu_hotplug.rst" writes:
> Legacy ACPI CPU hotplug interface registers
> ---
> ...
> - The first DWORD in bitmap is used in write mode to switch from legacy
> to moder
On Thu, 22 Dec 2022 at 21:55, Philippe Mathieu-Daudé wrote:
>
> ARM CPUs fetch instructions in little-endian.
>
> smpboot[] encoded instructions are written in little-endian.
>
> We call tswap32() on the array. tswap32 function swap a 32-bit
> value if the target endianness doesn't match the host
Hi, Paolo,
On Wed, Dec 28, 2022 at 09:27:50AM +0100, Paolo Bonzini wrote:
> Il ven 23 dic 2022, 16:54 Peter Xu ha scritto:
>
> > > This is not valid because the transaction could happen in *another*
> > thread.
> > > In that case memory_region_transaction_depth() will be > 0, but RCU is
> > > ne
Peter Maydell writes:
> On Fri, 23 Dec 2022 at 17:21, Alex Bennée wrote:
>>
>> The following changes since commit 222059a0fccf4af3be776fe35a5ea2d6a68f9a0b:
>>
>> Merge tag 'pull-ppc-20221221' of https://gitlab.com/danielhb/qemu
>> into staging (2022-12-21 18:08:09 +)
>>
>> are available
* David Woodhouse (dw...@infradead.org) wrote:
> From: David Woodhouse
>
> For the shared info page and for grant tables, Xen shares its own pages
> from the "Xen heap" to the guest. The guest requests that a given page
> from a certain address space (XENMAPSPACE_shared_info, etc.) be mapped
> to
On Wed, 21 Dec 2022 20:24:38 -0800
Ira Weiny wrote:
> To facilitate testing provide a QMP command to inject a general media
> event. The event can be added to the log specified.
>
> Signed-off-by: Ira Weiny
Hi Ira,
Suggestion inline on how to more neatly handle optional arguments using
QMPs
* David Woodhouse (dw...@infradead.org) wrote:
> From: Joao Martins
>
> Handle the hypercall to set a per vcpu info, and also wire up the default
> vcpu_info in the shared_info page for the first 32 vCPUs.
>
> To avoid deadlock within KVM a vCPU thread must set its *own* vcpu_info
> rather than
On Tue, 3 Jan 2023 11:02:31 -0500
Gregory Price wrote:
> The fine grained control would be a precursor to an emulated pooling
> device. If you can demonstrate it with a singleton attached device, you
> could just implement an exclusivity table in a shared file, and set the
> shared memory to a f
The specific problem I'm trying to solve is the location and
representation of the coprocessor register hash table for ARM cpus,
but in the process affects how cpu initialization might be done for
all targets.
At present, each cpu (for all targets) is initialized separately.
For some, like ARM, we
These properties apply to the class itself, as opposed to
object_class_property_* in which the property is attached
to the class but applies to each object instance.
Apply global properties via a class_late_init on DeviceClass.
Signed-off-by: Richard Henderson
---
hw/core/qdev-prop-internal.h |
With the movement of the properties, we can remove the has_mpu field
from the cpu entirely, using only the class. The pmsav7_dregion field
must stay in the cpu to handle the usage with VMSTATE_VARRAY_UINT32.
Signed-off-by: Richard Henderson
---
target/arm/cpu-qom.h | 3 ++
target/arm/cpu.h
Rather than call arm_cpu_post_init ourselves from the
object instance_init, let QOM handle this.
Signed-off-by: Richard Henderson
---
target/arm/cpu.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index b16d9bbe47..a6c6916f36
With the introduction of aarch64_host_class_init, we have
enough feature bits set to do propagation early. Move the
tcg consistency checks to class_late_init, after we have
populated all of the id registers.
Signed-off-by: Richard Henderson
---
target/arm/cpu.c | 162 ++-
Rename to arm_build_mp_affinity. This frees up the name for
other usage, and emphasizes that the cpu object is not involved.
Signed-off-by: Richard Henderson
---
target/arm/cpu.h | 2 +-
hw/arm/npcm7xx.c | 2 +-
hw/arm/sbsa-ref.c | 2 +-
hw/arm/virt.c | 2 +-
target/arm/cpu.c | 6 +++---
With the movement of the property, we can remove the field
from the cpu entirely, using only the class.
Signed-off-by: Richard Henderson
---
target/arm/cpu.h | 1 -
hw/arm/xilinx_zynq.c | 9 ++---
hw/intc/armv7m_nvic.c | 2 +-
target/arm/cpu.c | 18 --
target/ar
This will allow registration of cpregs at the class level.
Signed-off-by: Richard Henderson
---
target/arm/cpregs.h | 33 +++
target/arm/helper.c | 47 +
2 files changed, 55 insertions(+), 25 deletions(-)
diff --git a/targe
With the movement of the properties, we can remove the fields
from the cpu entirely, using only the class.
Signed-off-by: Richard Henderson
---
target/arm/cpu-qom.h| 4 +
target/arm/cpu.h| 4 -
hw/arm/aspeed_ast2600.c | 3 +-
target/arm/cpu.c| 340 +-
1 - 100 of 157 matches
Mail list logo