Re: [PATCH for 9.0 07/12] vdpa: set backend capabilities at vhost_vdpa_init

2023-12-19 Thread Jason Wang
On Sat, Dec 16, 2023 at 1:28 AM Eugenio Pérez wrote: > > The backend does not reset them until the vdpa file descriptor is closed > so there is no harm in doing it only once. > > This allows the destination of a live migration to premap memory in > batches, using VHOST_BACKEND_F_IOTLB_BATCH. > > S

Re: [PATCH] target/i386: Give IRQs a chance when resetting HF_INHIBIT_IRQ_MASK

2023-12-19 Thread Richard Henderson
On 12/20/23 02:04, Ruihan Li wrote: Hi all, On Mon, Dec 11, 2023 at 03:01:48AM +0800, Ruihan Li wrote: When emulated with QEMU, interrupts will never come in the following loop. However, if the NOP instruction is uncommented, interrupts will fire as normal. loop: cli

Re: [PATCH for 9.0 08/12] vdpa: add vhost_vdpa_load_setup

2023-12-19 Thread Jason Wang
On Sat, Dec 16, 2023 at 1:28 AM Eugenio Pérez wrote: > > Callers can use this function to setup the incoming migration thread. > > This thread is able to map the guest memory while the migration is > ongoing, without blocking QMP or other important tasks. While this > allows the destination QEMU n

Re: [PATCH 1/1] docs/system/riscv: document acpi parameter of virt machine

2023-12-19 Thread Sunil V L
On Tue, Dec 19, 2023 at 03:38:29PM +0100, Heinrich Schuchardt wrote: > Since QEMU v8.0.0 the RISC-V virt machine has a switch to disable ACPI > table generation. Add it to the documentation. > > Fixes: 168b8c29cedb ("hw/riscv/virt: Add a switch to disable ACPI") > Signed-off-by: Heinrich Schuchard

Re: [PATCH for 9.0 08/12] vdpa: add vhost_vdpa_load_setup

2023-12-19 Thread Eugenio Perez Martin
On Wed, Dec 20, 2023 at 6:22 AM Jason Wang wrote: > > On Sat, Dec 16, 2023 at 1:28 AM Eugenio Pérez wrote: > > > > Callers can use this function to setup the incoming migration thread. > > > > This thread is able to map the guest memory while the migration is > > ongoing, without blocking QMP or

Re: [PATCH for 9.0 07/12] vdpa: set backend capabilities at vhost_vdpa_init

2023-12-19 Thread Eugenio Perez Martin
On Wed, Dec 20, 2023 at 5:34 AM Jason Wang wrote: > > On Sat, Dec 16, 2023 at 1:28 AM Eugenio Pérez wrote: > > > > The backend does not reset them until the vdpa file descriptor is closed > > so there is no harm in doing it only once. > > > > This allows the destination of a live migration to pre

Re: TCP/telnet serial port not working in QEMU 8.1.3

2023-12-19 Thread Michael Tokarev
20.12.2023 01:44, Dave Blanchard : I just "upgraded" from QEMU 6.1.0 to 8.1.3 only to find that the -serial telnet/tcp option is no longer working. The following message is printed, and there's a 'connection refused' with the telnet program. Nmap shows no ports open. qemu-system-x86_64: -seria

Re: [PATCH v2 1/2] qdev: add IOThreadVirtQueueMappingList property type

2023-12-19 Thread Markus Armbruster
Kevin Wolf writes: > Am 19.12.2023 um 16:13 hat Stefan Hajnoczi geschrieben: >> On Sat, Oct 14, 2023 at 09:35:14AM +0200, Markus Armbruster wrote: >> > Stefan Hajnoczi writes: >> > > +## >> > > +# @IOThreadVirtQueueMappings: >> > > +# >> > > +# IOThreadVirtQueueMapping list. This struct is not a

Re: [PATCH v2] qdev: Report an error for machine without HotplugHandler

2023-12-19 Thread Markus Armbruster
Akihiko Odaki writes: > On 2023/12/18 23:02, Markus Armbruster wrote: >> Akihiko Odaki writes: >> >>> On 2023/12/11 15:51, Markus Armbruster wrote: Akihiko Odaki writes: > The HotplugHandler of the machine will be used when the parent bus does > not exist, but the machine may

<    1   2   3