On 13/12/22 01:02, Richard Henderson wrote:
On 12/12/22 17:05, Philippe Mathieu-Daudé wrote:
@@ -161,7 +161,7 @@ static qmp_virtio_feature_map_t
vhost_user_protocol_map[] = {
};
/* virtio device configuration statuses */
-static qmp_virtio_feature_map_t virtio_config_status_map[] = {
+stati
On 13/12/22 01:14, Richard Henderson wrote:
On 12/12/22 17:05, Philippe Mathieu-Daudé wrote:
The device endianness doesn't change during runtime.
What are you talking about? Of course it does.
The host CPU certainly does, but the virtio device doesn't... Does it?
This check only consider t
On Mon, Dec 12, 2022 at 08:30:42AM -0600, Richard Henderson wrote:
> On 12/11/22 19:13, Guenter Roeck wrote:
> > On Sat, Dec 10, 2022 at 07:27:46AM -0800, Guenter Roeck wrote:
> > > Hi,
> > >
> > > On Thu, Sep 01, 2022 at 11:15:09AM +0100, Richard Henderson wrote:
> > > > The value previously chos
On Tue, 2022-12-13 at 01:39 +0100, Paolo Bonzini wrote:
>
>
> Il lun 12 dic 2022, 23:23 David Woodhouse ha
> scritto:
> > On Mon, 2022-12-12 at 18:07 +0100, Paolo Bonzini wrote:
> > > On 12/9/22 10:55, David Woodhouse wrote:
> > > > config KVM
> > > > bool
> > > > +imply XEN_EMU if (
Il lun 12 dic 2022, 23:23 David Woodhouse ha scritto:
> On Mon, 2022-12-12 at 18:07 +0100, Paolo Bonzini wrote:
> > On 12/9/22 10:55, David Woodhouse wrote:
> > > config KVM
> > > bool
> > > +imply XEN_EMU if (I386 || X86_64)
> >
> > No need for the "imply", just make it "default y" b
dropped qemu-devel by mistake.
Paolo
Il lun 12 dic 2022, 23:16 Paolo Bonzini ha scritto:
> On 12/8/22 15:23, Markus Armbruster wrote:
> > qemu/coroutine.h and qemu/lockable.h include each other. Neither
> > header actually needs the other one.
>
> qemu/lockable.h wants qemu/coroutine.h becaus
On 12/12/22 17:05, Philippe Mathieu-Daudé wrote:
The device endianness doesn't change during runtime.
What are you talking about? Of course it does.
I mean, it doesn't often in practice, because the Linux kernel is compiled for one
endianness and doesn't keep toggling state, but the hooks th
On Mon, 2022-12-12 at 18:30 +0100, Paolo Bonzini wrote:
> On 12/9/22 10:55, David Woodhouse wrote:
> > -m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
> > +if (xen_enabled())
> > +m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
> > +else
> > +
On Mon, 2022-12-12 at 14:58 +, Paul Durrant wrote:
> On 09/12/2022 09:56, David Woodhouse wrote:
> > From: Joao Martins <
> > joao.m.mart...@oracle.com
> > >
> >
> > Handle the hypercall to set a per vcpu info, and also wire up the
> > default
> > vcpu_info in the shared_info page for the firs
On Mon, 2022-12-12 at 14:51 +, Paul Durrant wrote:
> Again, should this patch be deferred until we actually implement
> something useful here? I.e. folding it into the subsequent patch? It's
> not like the boilerplate is massive.
That's how Joao did it; it seems sane enough to do bite-sized
On Mon, 2022-12-12 at 14:38 +, Paul Durrant wrote:
>
> > +switch (xatp.space) {
> > +case XENMAPSPACE_shared_info:
> > +break;
> > +default:
> > +err = -ENOSYS;
> > +break;
>
> Don't you want to return false h
On Mon, 2022-12-12 at 14:17 +, Paul Durrant wrote:
> Shouldn't this be (sz - i)?
Turns out I hate that loop. Have refactored it to be
while (sz) { ... sz -= len; ... }.
Thanks.
smime.p7s
Description: S/MIME cryptographic signature
On 12/12/22 17:05, Philippe Mathieu-Daudé wrote:
@@ -161,7 +161,7 @@ static qmp_virtio_feature_map_t vhost_user_protocol_map[] =
{
};
/* virtio device configuration statuses */
-static qmp_virtio_feature_map_t virtio_config_status_map[] = {
+static const qmp_virtio_feature_map_t virtio_c
virtio.c uses target_words_bigendian() which is declared in
"hw/core/cpu.h". Add the missing header to avoid when refactoring:
hw/virtio/virtio.c:2451:9: error: implicit declaration of function
'target_words_bigendian' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (target_
The current definition of VHOST_USER_MAX_RAM_SLOTS is
target specific. By converting this definition to a runtime
vhost_user_ram_slots_max() helper declared in a target
specific unit, we can have the rest of vhost-user.c target
independent.
To avoid variable length array or using the heap to store
Except the following files:
- virtio-config.c
- virtio-qmp.c
- virtio-iommu.c
- virtio-mem.c
- vhost-user-target.c
- vhost-vdpa.c
all other virtio related files are target independent and
can be compiled only once for a system emulation build,
avoiding compiling hundreds of objects.
Signed-off-by:
In order to avoid target-specific code in VirtIO headers,
move this particular function -- which is only called once
in virtio_init() -- in its own unit.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/virtio/virtio-config.c | 20
include/hw/virtio/virtio-access.h | 19
The device endianness doesn't change during runtime.
Cache it in the VirtIODevice state.
Signed-off-by: Philippe Mathieu-Daudé
---
RFC: I'm not sure virtio_init() is the correct place to add this
check. We want to initialize this field once the features are
negociated.
---
hw/virtio/vi
Since the device endianness doesn't change at runtime,
use the cached value instead of evaluating it on each call.
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/virtio/virtio-access.h | 44 +++
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/inc
The monitor decoders are the only functions using the CONFIG_xxx
definitions declared in the target specific CONFIG_DEVICES header.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/virtio/meson.build | 2 +-
hw/virtio/virtio-qmp.c | 631 +
hw/virtio/virtio-
Since virtio_ss[] is added to specific_ss[], rename it as
specific_virtio_ss[] to make it clearer.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/virtio/meson.build | 41 +
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/hw/virtio/meson.build
These arrays are only accessed read-only, move them to .rodata.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/virtio/virtio.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index 5817f4cbc9..f54cc233
These config helpers use the target-dependent LD/ST API.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/virtio/meson.build | 1 +
hw/virtio/virtio-config.c | 204 ++
hw/virtio/virtio.c| 190 ---
3 files changed, 205
Currently the inlined virtio_access_is_big_endian() function
"hw/virtio/virtio-access.h" which is used by all I/O accesses
force any virtio device to be built as target-dependent object.
This series isolates the few VirtIO target specific bits, trying
to not impact the performance (a function is u
On Thu, Dec 08, 2022 at 08:05:21PM -0600, Richard Henderson wrote:
> Let the register allocator handle such immediates by matching
> only what one insn can achieve.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Ilya Leoshkevich
On 12/12/22 17:27, James Bottomley wrote:
.
Swtpm currently isn't building for Leap:
https://build.opensuse.org/package/show/security/swtpm
Someone could have notified me...
On Thu, Dec 08, 2022 at 08:05:20PM -0600, Richard Henderson wrote:
> Drop support for sequential OR and XOR, as the serial dependency is
> slower than loading the constant first. Let the register allocator
> handle such immediates by matching only what one insn can achieve.
>
> Signed-off-by: Ric
On Thu, Dec 08, 2022 at 08:05:19PM -0600, Richard Henderson wrote:
> There is only one instruction that is applicable
> to a 32-bit immediate xor.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Ilya Leoshkevich
On Thu, Dec 08, 2022 at 08:05:13PM -0600, Richard Henderson wrote:
> The distinct-operands facility is bundled into facility 45,
> along with load-on-condition. We are checking this at startup.
> Remove the a0 == a1 checks for 64-bit sub, and, or, xor, as there
> is no space savings for avoiding t
On Mon, 2022-12-12 at 17:02 -0500, Stefan Berger wrote:
>
>
> On 12/12/22 16:36, James Bottomley wrote:
> > On Mon, 2022-12-12 at 14:32 -0500, Stefan Berger wrote:
[...]
> > > Either way, what is the latency that this introduces because I
> > > would expect that this slows down IMA since the PC
On Thu, Dec 08, 2022 at 08:05:11PM -0600, Richard Henderson wrote:
> The general-instruction-extension facility was introduced in z196,
> which itself was end-of-life in 2021. In addition, z196 is the
> minimum CPU supported by our set of supported operating systems:
> RHEL 7 (z196), SLES 12 (z196
On Mon, 2022-12-12 at 18:07 +0100, Paolo Bonzini wrote:
> On 12/9/22 10:55, David Woodhouse wrote:
> > config KVM
> > bool
> > +imply XEN_EMU if (I386 || X86_64)
>
> No need for the "imply", just make it "default y" below and it will have
> the same effect.
>
> >
> > diff --git a/ta
On Thu, Dec 08, 2022 at 08:05:10PM -0600, Richard Henderson wrote:
> The general-instruction-extension facility was introduced in z10,
> which itself was end-of-life in 2019.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/s390x/tcg-target.h | 10 ++--
> tcg/s390x/tcg-target.c.inc | 100 ++
On 12/8/22 15:39, Markus Armbruster wrote:
* Global state (GS) API. These functions run under the BQL.
*
* See include/block/block-global-state.h for more information about
- * the GS API.
+ * the GS API.b
*/
One-character typo.
Paolo
On Thu, Dec 08, 2022 at 08:05:09PM -0600, Richard Henderson wrote:
> The extended-immediate facility was introduced in z9-109,
> which itself was end-of-life in 2017.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/s390x/tcg-target.h | 4 +-
> tcg/s390x/tcg-target.c.inc | 231 +++-
On 12/12/22 23:09, Jon Maloy wrote:
We add three new configuration flags, LIBCACARD, USB_SMARTCARD_PASSTHRU
and USB_SMARTCARD_EMULATED in order to improve configurability of these
functionalities.
Jon Maloy (2):
hw/usb: add configuration flags for emulated and passthru usb
smartcard
On Mon, Dec 12, 2022 at 10:49:24PM +0100, Helge Deller wrote:
> On 12/12/22 22:16, Ilya Leoshkevich wrote:
> > On Mon, Dec 12, 2022 at 08:00:45AM +0100, Helge Deller wrote:
> > > Both parameters have a different value on the parisc platform, so first
> > > translate the target value into a host val
We add two new configuration flags, USB_SMARTCARD_PASSTHRU and
USB_SMARTCARD_EMULATED in order to improve configurability of these
functionalities.
Signed-off-by: Jon Maloy
---
hw/usb/Kconfig | 12
hw/usb/meson.build | 4 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
We add a new configuration flag, LIBCACARD, indicating availability of the
libcacard code for building. This way, we can eliminate the explicit test
for cacard.found() when configuring
USB_SMARTCARD_EMULATED/USB_SMARTCARD_PASSTHRU
in hw/usb/meson.build.
Signed-off-by: Jon Maloy
---
Kconfig.host
We add three new configuration flags, LIBCACARD, USB_SMARTCARD_PASSTHRU
and USB_SMARTCARD_EMULATED in order to improve configurability of these
functionalities.
Signed-off-by: Jon Maloy
---
v2: Added a LIBACARD flag, plus reversed 'select' clauses, as suggested
by Paolo Bonzini and Marc-Andr
On 9/12/22 03:05, Richard Henderson wrote:
The fast-bcr-serialization facility is bundled into facility 45,
along with load-on-condition. We are checking this at startup.
Signed-off-by: Richard Henderson
---
tcg/s390x/tcg-target.h | 1 -
tcg/s390x/tcg-target.c.inc | 3 ++-
2 files chan
On Mon, 2022-12-12 at 13:24 +, Paul Durrant wrote:
> On 09/12/2022 09:55, David Woodhouse wrote:
> > --- a/hw/i386/xen/xen_platform.c
> > +++ b/hw/i386/xen/xen_platform.c
> > @@ -271,7 +271,10 @@ static void platform_fixed_ioport_writeb(void *opaque,
> > uint32_t addr, uint32_t v
> >ca
On Mon, 2022-12-12 at 15:47 +, Daniel P. Berrangé wrote:
> Copy'ing Markus for QAPI design feedback.
>
> On Sat, Dec 10, 2022 at 12:10:18PM -0500, James Bottomley wrote:
[...]
> > +##
> > +# @TPMmssimOptions:
> > +#
> > +# Information for the mssim emulator connection
> > +#
> > +# @host: host
On 12/12/22 16:36, James Bottomley wrote:
On Mon, 2022-12-12 at 14:32 -0500, Stefan Berger wrote:
On 12/12/22 14:12, James Bottomley wrote:
On Mon, 2022-12-12 at 13:58 -0500, Stefan Berger wrote:
On 12/12/22 13:48, James Bottomley wrote:
On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger w
On 12/12/22 21:49, Richard Henderson wrote:
Typo had double-writes to data registers.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1363
Signed-off-by: Richard Henderson
---
target/tricore/gdbstub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathi
On Mon, Dec 12, 2022 at 5:05 PM Markus Armbruster wrote:
>
> docs/devel/style.rst mandates:
>
> The "qemu/osdep.h" header contains preprocessor macros that affect
> the behavior of core system headers like . It must be
> the first include so that core system headers included by extern
On Thu, Dec 08, 2022 at 08:05:08PM -0600, Richard Henderson wrote:
> We are already assuming the existance of long-displacement, but were
> not being explicit about it. This has been present since z990.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/s390x/tcg-target.h | 6 --
> tcg/s
On Thu, Dec 08, 2022 at 08:05:07PM -0600, Richard Henderson wrote:
> The size of a compiled TB is limited by the uint16_t used by
> gen_insn_end_off[] -- there is no need for a 32-bit branch.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/s390x/tcg-target.c.inc | 9 -
> 1 file changed,
On Thu, Dec 08, 2022 at 08:05:06PM -0600, Richard Henderson wrote:
> Since USE_REG_TB is removed, there is no need to load the
> target TB address into a register.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/s390x/tcg-target.h | 2 +-
> tcg/s390x/tcg-target.c.inc | 48 +++--
On 12/12/22 22:16, Ilya Leoshkevich wrote:
On Mon, Dec 12, 2022 at 08:00:45AM +0100, Helge Deller wrote:
Both parameters have a different value on the parisc platform, so first
translate the target value into a host value for usage in the native
madvise() syscall.
Those parameters are often use
On Sun, Dec 04, 2022 at 01:09:10AM +0800, huang...@chinatelecom.cn wrote:
> From: Hyman Huang(黄勇)
>
> Check if block migration is running before throttling
> guest down in auto-converge way.
>
> Note that this modification is kind of like code clean,
> because block migration does not depend on
On Mon, 2022-12-12 at 14:32 -0500, Stefan Berger wrote:
>
>
> On 12/12/22 14:12, James Bottomley wrote:
> > On Mon, 2022-12-12 at 13:58 -0500, Stefan Berger wrote:
> > > On 12/12/22 13:48, James Bottomley wrote:
> > > > On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger wrote:
> > > > > On 12/12/22
On 12/12/22 17:55, Peter Maydell wrote:
On Fri, 9 Dec 2022 at 11:44, Paolo Bonzini wrote:
---
tests/qemu-iotests/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
index 583468c5b9b3..3d8637c8f2b6 100644
--- a/test
> On Dec 12, 2022, at 1:01 AM, Cédric Le Goater wrote:
>
> On 11/9/22 00:13, John Johnson wrote:
>>
>> +
>> +static Property vfio_user_pci_dev_properties[] = {
>> +DEFINE_PROP_STRING("socket", VFIOUserPCIDevice, sock_name),
>
> This looks like a good candidate for using a chardev. It coul
Am 12. Dezember 2022 08:02:26 UTC schrieb "Philippe Mathieu-Daudé"
:
>On 12/12/22 01:13, Bernhard Beschow wrote:
>>
>>
>> Am 9. Dezember 2022 15:15:27 UTC schrieb "Philippe Mathieu-Daudé"
>> :
>>> From: Philippe Mathieu-Daudé
>>>
>>> Signed-off-by: Philippe Mathieu-Daudé
>>> ---
>>> hw/mi
On Mon, Dec 12, 2022 at 08:00:45AM +0100, Helge Deller wrote:
> Both parameters have a different value on the parisc platform, so first
> translate the target value into a host value for usage in the native
> madvise() syscall.
>
> Those parameters are often used by security sensitive applications
Typo had double-writes to data registers.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1363
Signed-off-by: Richard Henderson
---
target/tricore/gdbstub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/tricore/gdbstub.c b/target/tricore/gdbstub.c
index ebf32
> On Dec 12, 2022, at 3:46 AM, Philippe Mathieu-Daudé wrote:
>
> On 12/12/22 12:03, John Levon wrote:
>> On Mon, Dec 12, 2022 at 10:01:33AM +0100, Cédric Le Goater wrote:
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 80b03a2..dc19869 100644
--- a/hw/vfio/pci.c
+++ b/hw/vf
Il lun 12 dic 2022, 13:16 Marc-André Lureau ha
scritto:
> +if get_option('sanitizers')
> + if cc.has_argument('-fsanitize=address')
> +qemu_cflags = ['-fsanitize=address'] + qemu_cflags
> +qemu_ldflags = ['-fsanitize=address'] + qemu_ldflags
why not the += syntax? same below
Configure
> On Dec 9, 2022, at 10:01 AM, John Levon wrote:
>
> On Tue, Nov 08, 2022 at 03:13:41PM -0800, John Johnson wrote:
>
>> Secure DMA forces the remote process to use DMA r/w messages
>> instead of directly mapping guest memeory.
>
> I don't really get why this is called "secure" - shouldn't ha
I can look into using orderfile
JJ
> On Dec 9, 2022, at 8:04 AM, Cédric Le Goater wrote:
>
> Hello John,
>
> On 11/9/22 00:13, John Johnson wrote:
>> Add an abstract base class both the kernel driver
>> and user socket implementations can use to share
> On Dec 9, 2022, at 9:29 AM, John Levon wrote:
>
> On Tue, Nov 08, 2022 at 03:13:36PM -0800, John Johnson wrote:
>
>> +static int vfio_user_io_get_irq_info(VFIODevice *vbasedev,
>> + struct vfio_irq_info *irq)
>> +{
>> +int ret;
>> +
>> +ret = vfio
> On Dec 9, 2022, at 7:57 AM, John Levon wrote:
>
> On Tue, Nov 08, 2022 at 03:13:32PM -0800, John Johnson wrote:
>
>> +/*
>> + * VFIO_USER_DEVICE_GET_INFO
>> + * imported from struct_device_info
>> + */
>> +typedef struct {
>> +VFIOUserHdr hdr;
>> +uint32_t argsz;
>> +uint32_t fl
On Tue, Dec 13, 2022 at 12:49:39AM +0800, Chuang Xu wrote:
>
> Hi!
Chuang,
>
> In this version:
>
> - rebase to latest upstream.
> - add sanity check to address_space_to_flatview().
> - postpone the init of the vring cache until migration's loading completes.
Since there'll be other changes
On 12/12/22 14:32, Stefan Berger wrote:
On 12/12/22 14:12, James Bottomley wrote:
On Mon, 2022-12-12 at 13:58 -0500, Stefan Berger wrote:
On 12/12/22 13:48, James Bottomley wrote:
On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger wrote:
On 12/12/22 11:38, James Bottomley wrote:
[...]
th
On Tue, Dec 13, 2022 at 12:49:41AM +0800, Chuang Xu wrote:
> +bool migration_enable_load_check_delay;
I'm just afraid this is still too hacky.
One thing is because this variable itself to be only set at specific phase
during migration to cover that commit(). The other thing is I'm not sure
we ca
On 12/12/22 14:12, James Bottomley wrote:
On Mon, 2022-12-12 at 13:58 -0500, Stefan Berger wrote:
On 12/12/22 13:48, James Bottomley wrote:
On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger wrote:
On 12/12/22 11:38, James Bottomley wrote:
[...]
the kernel use of the TPM, but I'm trying to
On Mon, 2022-12-12 at 13:58 -0500, Stefan Berger wrote:
> On 12/12/22 13:48, James Bottomley wrote:
> > On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger wrote:
> > > On 12/12/22 11:38, James Bottomley wrote:
[...]
> > > > the kernel use of the TPM, but I'm trying to fix that. The
> > > > standard
On 12/12/22 13:48, James Bottomley wrote:
On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger wrote:
On 12/12/22 11:38, James Bottomley wrote:
On Mon, 2022-12-12 at 15:47 +, Daniel P. Berrangé wrote:
Copy'ing Markus for QAPI design feedback.
On Sat, Dec 10, 2022 at 12:10:18PM -0500, Jam
On Mon, 2022-12-12 at 11:59 -0500, Stefan Berger wrote:
>
>
> On 12/12/22 11:38, James Bottomley wrote:
> > On Mon, 2022-12-12 at 15:47 +, Daniel P. Berrangé wrote:
> > > Copy'ing Markus for QAPI design feedback.
> > >
> > > On Sat, Dec 10, 2022 at 12:10:18PM -0500, James Bottomley wrote:
>
On 12/12/22 16:28, Richard Henderson wrote:
On 12/9/22 01:22, Philippe Mathieu-Daudé wrote:
On 9/12/22 06:19, Richard Henderson wrote:
Now that PageDesc is not used for user-only, and for system
it is only used for tb maintenance, move the implementation
into tb-main.c appropriately ifdefed.
W
On 12/12/22 18:12, Thomas Huth wrote:
docs/system/target-mips.rst and configs/targets/mips* are not covered
in our MAINTAINERS file yet, so let's add them now.
Signed-off-by: Thomas Huth
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
Thanks!
Reviewed-by: Philippe Mathieu-Daudé
On 12/12/22 18:48, Thomas Huth wrote:
A lot of files in the docs directory do not have a maintainer according to
our MAINTAINERS file, though they can be clearly associated with one of the
sections in there. Add the files now so that our scripts/get_maintainer.pl
script can output the right maint
On Mon, Dec 12, 2022 at 04:55:55PM +, Taylor Simpson wrote:
>
>
> > -Original Message-
> > From: Markus Armbruster
> > Sent: Monday, December 12, 2022 1:05 AM
> > To: qemu-devel@nongnu.org
> > Cc: i...@bsdimp.com; kev...@freebsd.org; berra...@redhat.com;
> > jonathan.came...@huawei.c
Add appropriate strace printf formats for various Linux syscalls.
Signed-off-by: Helge Deller
Reviewed-by: Philippe Mathieu-Daudé
---
v2: Fixed a few entries based on review by Philippe Mathieu-Daudé
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 3a898e2532..a75101fca1 1006
On 12/12/2022 17:30, Paolo Bonzini wrote:
[snip]
The platform device can be created either in mc->kvm_type or manually
(not sure if it makes sense to have a "XenVMMXenVMM" CPUID + emulated
hypercalls but no platform device---would it still use pvclock for
example?).
Not sure it's wise but
A lot of files in the docs directory do not have a maintainer according to
our MAINTAINERS file, though they can be clearly associated with one of the
sections in there. Add the files now so that our scripts/get_maintainer.pl
script can output the right maintainer for them.
Signed-off-by: Thomas H
Applications do call sendmsg() without any IOV, e.g.:
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=NULL, msg_iovlen=0,
msg_control=[{cmsg_len=36, cmsg_level=SOL_ALG, cmsg_type=0x2}],
msg_controllen=40, msg_flags=0}, MSG_MORE) = 0
sendmsg(4, {msg_name=NULL, msg_namelen
Add suport to handle SOL_ALG packets via sendmsg() and recvmsg().
This allows emulated userspace to use encryption functionality.
Tested with the debian ell package with hppa guest on x86_64 host.
Signed-off-by: Helge Deller
---
linux-user/syscall.c | 8
1 file changed, 8 insertions(+)
On 12/12/22 16:57, Kevin Wolf wrote:
I looks to me like this is a problem with the test case rather than the
change per se. It seems to be fixed with this patch that is already
posted as part of the next series:
[PATCH 09/18] test-bdrv-drain: Fix incorrrect drain assumptions
https://lists.gnu.or
On 12/12/22 13:16, Marc-André Lureau wrote:
No, it compiles successfully with clang (Fedora 15.0.4-1.fc37) and
glibc-2.36-8.fc37.x86_64 at least.
I guess we need someone to check on macos with glibc 2.35
(https://formulae.brew.sh/formula/glibc#default)
That's a Linux-only formula, so no need t
On 12/9/22 10:55, David Woodhouse wrote:
-m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
+if (xen_enabled())
+m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
+else
+m->default_machine_opts = "accel=kvm,xen-version=0x30001";
Please do not
Am 07.12.2022 um 15:12 hat Emanuele Giuseppe Esposito geschrieben:
> Am 07/12/2022 um 14:18 schrieb Kevin Wolf:
> > This series supersedes the first half of Emanuele's "Protect the block
> > layer with a rwlock: part 1". It introduces the basic infrastructure for
> > protecting the block graph (spe
On 12/9/22 10:56, David Woodhouse wrote:
Expecting some heckling at the use of xen_overlay_singleton. What is
the best way to do that? Using qemu_find_recursive() every time seemed
a bit wrong. But I suppose mapping it into the*guest* isn't a fast
path, and if the actual grant table code is allo
docs/system/target-mips.rst and configs/targets/mips* are not covered
in our MAINTAINERS file yet, so let's add them now.
Signed-off-by: Thomas Huth
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 6966490c94..4e0e2ba36f 100644
--- a/MAINTAINE
On 12/9/22 10:55, David Woodhouse wrote:
config KVM
bool
+imply XEN_EMU if (I386 || X86_64)
No need for the "imply", just make it "default y" below and it will have
the same effect.
diff --git a/target/Kconfig b/target/Kconfig
index 83da0bd293..e19c9d77b5 100644
--- a/target/Kc
On 12/9/22 10:56, David Woodhouse wrote:
+static bool __kvm_xen_handle_exit(X86CPU *cpu, struct kvm_xen_exit *exit)
No double underscores in userspace.
+{
+uint16_t code = exit->u.hcall.input;
+
+if (exit->u.hcall.cpl > 0) {
+exit->u.hcall.result = -EPERM;
+return true
On 12/12/22 11:38, James Bottomley wrote:
On Mon, 2022-12-12 at 15:47 +, Daniel P. Berrangé wrote:
Copy'ing Markus for QAPI design feedback.
On Sat, Dec 10, 2022 at 12:10:18PM -0500, James Bottomley wrote:
The Microsoft Simulator (mssim) is the reference emulation platform
for the TCG T
> -Original Message-
> From: Markus Armbruster
> Sent: Monday, December 12, 2022 1:05 AM
> To: qemu-devel@nongnu.org
> Cc: i...@bsdimp.com; kev...@freebsd.org; berra...@redhat.com;
> jonathan.came...@huawei.com; kbast...@mail.uni-paderborn.de;
> jasow...@redhat.com; michael.r...@amd.com
On Fri, 9 Dec 2022 at 11:44, Paolo Bonzini wrote:
>
> ---
> tests/qemu-iotests/meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
> index 583468c5b9b3..3d8637c8f2b6 100644
> --- a/tests/qemu-iotests/meson.build
> ++
On 02/03/2021 18.55, Daniel P. Berrangé wrote:
Currently the -audiodev accepts any audiodev type regardless of what is
built in to QEMU. An error only occurs later at runtime when a sound
device tries to use the audio backend.
With this change QEMU will immediately reject -audiodev args that are
Hi!
In this version:
- rebase to latest upstream.
- add sanity check to address_space_to_flatview().
- postpone the init of the vring cache until migration's loading completes.
Please review, Chuang.
[v1]
The duration of loading non-iterable vmstate accounts for a significant
portion of dow
The duration of loading non-iterable vmstate accounts for a significant
portion of downtime (starting with the timestamp of source qemu stop and
ending with the timestamp of target qemu start). Most of the time is spent
committing memory region changes repeatedly.
This patch packs all the changes
Before using any flatview, sanity check we're not during a memory
region transaction or the map can be invalid.
Signed-off-by: Chuang Xu
---
include/exec/memory.h | 9 +
softmmu/memory.c | 1 -
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/include/exec/memory.h b/inc
Delay checks in virtio_load() to avoid possible address_space_to_flatview() call
during memory region's begin/commit.
Signed-off-by: Chuang Xu
---
hw/virtio/virtio.c | 33 ++---
include/sysemu/sysemu.h | 1 +
softmmu/globals.c | 3 +++
3 files changed, 26
On 12/12/22 15:02, Marc-André Lureau wrote:
Sounds fine, but I like silence too. Could you give a bit of motivation details?
thanks!
One qemu-iotests TAP testcase is comparable to a test() invocation
elsewhere (in terms of both runtime and kind of test). This makes it
useful to see the last
On 12/12/2022 16:26, David Woodhouse wrote:
On Mon, 2022-12-12 at 16:16 +, Paul Durrant wrote:
On 09/12/2022 09:56, David Woodhouse wrote:
From: Ankur Arora
The HVM_PARAM_CALLBACK_IRQ parameter controls the system-wide event
channel upcall method. The vector support is handled by KVM inte
On Mon, 2022-12-12 at 15:47 +, Daniel P. Berrangé wrote:
> Copy'ing Markus for QAPI design feedback.
>
> On Sat, Dec 10, 2022 at 12:10:18PM -0500, James Bottomley wrote:
> > The Microsoft Simulator (mssim) is the reference emulation platform
> > for the TCG TPM 2.0 specification.
> >
> > http
On 09/12/2022 09:56, David Woodhouse wrote:
From: Joao Martins
It allows to shutdown itself via hypercall with any of the 3 reasons:
1) self-reboot
2) shutdown
3) crash
Implementing SCHEDOP_shutdown sub op let us handle crashes gracefully rather
than leading to triple faults if it rem
On 12/12/2022 13:48, Thomas Huth wrote:
On 12/12/2022 14.39, Mark Cave-Ayland wrote:
On 12/12/2022 07:56, Thomas Huth wrote:
The only reason for this code being target dependent is the apic-related
code in rtc_policy_slew_deliver_irq(). Since these apic functions are rather
simple, we can eas
1 - 100 of 282 matches
Mail list logo