On May 18, 2019 9:21 PM, "Richard Henderson"
wrote:
>
> The gvec expanders take care of masking the shift amount
> against the element width.
>
> Signed-off-by: Richard Henderson
> ---
> target/ppc/helper.h | 12 --
> target/ppc/int_helper.c | 37 -
On Wed, May 15, 2019 at 02:15:39PM +0200, Juan Quintela wrote:
>We set multifd-channels.
>
>Reviewed-by: Dr. David Alan Gilbert
>Reviewed-by: Thomas Huth
>Signed-off-by: Juan Quintela
>---
> tests/migration-test.c | 48 ++
> 1 file changed, 48 insertions(+)
On Wed, May 15, 2019 at 02:15:38PM +0200, Juan Quintela wrote:
>We would need _str ones on the next patch.
>
>Signed-off-by: Juan Quintela
Reviewed-by: Wei Yang
>---
> tests/migration-test.c | 49 +-
> 1 file changed, 25 insertions(+), 24 deletions(-)
>
>d
On Mon, 29 Apr 2019 05:02:41 -0400
Christian Borntraeger wrote:
> Adding gen15.
>
> v2->v3: - merge deprecation patch into gen 15 patch
> - fix comments
> - use gen15a and gen15b instead of cpuid
> v1->v2: - rework csske deprecation
> - white space fixes
> - also require
On Wed, May 15, 2019 at 02:15:37PM +0200, Juan Quintela wrote:
>It uses num in multifd_send(). Make it coherent.
>
>Signed-off-by: Juan Quintela
Reviewed-by: Wei Yang
>---
> migration/trace-events | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/migration/trace-events b/m
On Wed, May 15, 2019 at 02:15:36PM +0200, Juan Quintela wrote:
>v3:
>- improve the code
>- address David and Markus comments
>- make compression code into methods
> so we can add any other method ading just three functions
>
>Please review, as far as I know everything is ok now.
>
>Todo: Add zstd
On Fri, May 17, 2019 at 07:37:04PM +0200, Laurent Vivier wrote:
> On 26/04/2019 08:05, David Gibson wrote:
> > From: Alexey Kardashevskiy
> >
> > NVIDIA V100 GPUs have on-board RAM which is mapped into the host memory
> > space and accessible as normal RAM via an NVLink bus. The VFIO-PCI driver
>
On Thu, May 16, 2019 at 09:36:57AM +0200, Greg Kurz wrote:
> Let's suggest to the user how the machine should be configured to allow
> the guest to boot successfully.
>
> Suggested-by: Satheesh Rajendran
> Signed-off-by: Greg Kurz
Applied, thanks.
> ---
> hw/ppc/spapr_hcall.c |4 ++--
> 1
On Fri, May 17, 2019 at 07:14:30PM +0200, Greg Kurz wrote:
> On Fri, 17 May 2019 14:18:23 +1000
> David Gibson wrote:
>
> > spapr machine capabilities are supposed to be sent in the migration stream
> > so that we can sanity check the source and destination have compatible
> > configuration. Unf
Update the QEMU copy of the Linux headers to upstream 5.2-rc1 (linux
commit a188339ca5a3).
Signed-off-by: Cédric Le Goater
---
.../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +-
include/standard-headers/drm/drm_fourcc.h | 114 +++-
include/standard-headers/linux/ethtool.h |
On 19/05/2019 22:36, Richard Henderson wrote:
Based-on: <20190519201953.20161-1-richard.hender...@linaro.org>
Aka "linux-user: path, clone, sparc, shmat fixes"
Version 6 was
https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg04794.html
Since v5, I've fixed the ioctl failure that Laurent f
On 20/05/2019 08:05, David Gibson wrote:
> When we added support for NVLink2 passthrough devices, we changed the
> phb_placement hook to handle the placement of NVLink2 bridges' specific
> resources. For compatibility we use a version that doesn't do this
> allocation for old machine types.
>
>
The patch adds some preparation parts for incompatible compression type
feature into QCOW2 header that indicates that *all* compressed clusters
must be (de)compressed using a certain compression type.
It is implied that the compression type is set on the image creation and
can be changed only late
When we added support for NVLink2 passthrough devices, we changed the
phb_placement hook to handle the placement of NVLink2 bridges' specific
resources. For compatibility we use a version that doesn't do this
allocation for old machine types.
However, because of the delay between when the patch
On Sat, May 18, 2019 at 12:14:28PM -0700, Richard Henderson wrote:
> Based-on: <20190518190157.21255-1-richard.hender...@linaro.org>
> Aka "tcg: misc gvec improvements".
>
> Since Mark's initial patches, we've added (or are adding)
> generic support for variable vector shifts and bitsel.
Applied,
On Mon, May 20, 2019 at 02:01:42PM +1000, David Gibson wrote:
> On Sat, May 18, 2019 at 12:14:28PM -0700, Richard Henderson wrote:
> > Based-on: <20190518190157.21255-1-richard.hender...@linaro.org>
> > Aka "tcg: misc gvec improvements".
> >
> > Since Mark's initial patches, we've added (or are ad
On May 19, 2019 11:25 PM, "Richard Henderson"
wrote:
>
> This does drop the (questionable) siginfo_t printing.
> But since we already do not handle more important things
> in this area like sigset_t, this does not feel a loss.
>
What is the most questionable here is the reasoning “we don't handle
On Thursday 16 May 2019 07:47 PM, Dr. David Alan Gilbert wrote:
> * Aravinda Prasad (aravi...@linux.vnet.ibm.com) wrote:
>>
>>
>> On Thursday 16 May 2019 04:24 PM, Greg Kurz wrote:
>>> On Mon, 22 Apr 2019 12:33:45 +0530
>>> Aravinda Prasad wrote:
>>>
Block VM migration requests until the m
On Wed, May 15, 2019 at 8:20 PM Alex Bennée wrote:
>
>
> Jon Doron writes:
>
> > Signed-off-by: Jon Doron
> > ---
> > gdbstub.c | 36 ++--
> > 1 file changed, 26 insertions(+), 10 deletions(-)
> >
> > diff --git a/gdbstub.c b/gdbstub.c
> > index 2fd0d66f4d..d6781
On Sun, May 19, 2019 at 12:55:09AM +0200, Philippe Mathieu-Daudé wrote:
> Hi Gerd,
>
> On 5/10/19 12:46 PM, Gerd Hoffmann wrote:
> > Instead of fetching the prebuilt image from patchew download the install
> > iso and prepare the image locally. Install to disk, using the serial
> > console. Crea
Ah cool did not know about that I will look into it and perhaps can do
a different patchset just for this no need to add it on top of this
patchset
On Wed, May 15, 2019 at 8:48 PM Alex Bennée wrote:
>
>
> Jon Doron writes:
>
> > gdb> maint packet qqemu.kvm.Rdmsr:MsrIndex
>
> gdbserver already ha
On Wed, May 15, 2019 at 8:44 PM Alex Bennée wrote:
>
>
> Jon Doron writes:
>
> > Follow GDB general query/set packet conventions, qemu.sstep can now
> > be set with the following command as well:
> > gdb> maint packet Qqemu.sstep:Value
>
> I;m not sure about exposing internal values to a protocol
I suggest then that I'll squash this commit into the commit that
refactors the the Q/q packets and will add the required documentation
about this
in the commit message.
Do you agree?
-- Jon.
On Wed, May 15, 2019 at 8:41 PM Alex Bennée wrote:
>
>
> Jon Doron writes:
>
> > qemu.Supported query re
On Wed, May 15, 2019 at 8:06 PM Alex Bennée wrote:
>
>
> Jon Doron writes:
>
> > Signed-off-by: Jon Doron
> > ---
> > gdbstub.c | 170 +++---
> > 1 file changed, 110 insertions(+), 60 deletions(-)
> >
> > diff --git a/gdbstub.c b/gdbstub.c
> > ind
>
>
> > On 5/16/19 10:35 PM, Pankaj Gupta wrote:
> > > Can I take it your reviewed/acked-by? or tested-by tag? for the virtio
> > > patch :)I don't feel that I have enough expertise to give the reviewed-by
> > > tag, but you can
> > take my acked-by + tested-by.
> >
> > Acked-by: Jakub Staron
> On 5/16/19 10:35 PM, Pankaj Gupta wrote:
> > Can I take it your reviewed/acked-by? or tested-by tag? for the virtio
> > patch :)I don't feel that I have enough expertise to give the reviewed-by
> > tag, but you can
> take my acked-by + tested-by.
>
> Acked-by: Jakub Staron
> Tested-by: Jakub
Currently we are doing log_clear() right after log_sync() which mostly
keeps the old behavior when log_clear() was still part of log_sync().
This patch tries to further optimize the migration log_clear() code
path to split huge log_clear()s into smaller chunks.
We do this by spliting the whole gu
Expose the new capability via "query-kvm" QMP command too so we know
whether that's turned on on the source VM when we want.
Signed-off-by: Peter Xu
---
accel/kvm/kvm-all.c | 5 +
include/sysemu/kvm.h | 2 ++
qapi/misc.json | 6 +-
qmp.c| 1 +
4 files changed, 13 i
Firstly detect the interface using KVM_CAP_MANUAL_DIRTY_LOG_PROTECT
and mark it. When failed to enable the new feature we'll fall back to
the old sync.
Provide the log_clear() hook for the memory listeners for both address
spaces of KVM (normal system memory, and SMM) and deliever the clear
messa
Signed-off-by: Peter Xu
---
hmp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hmp.c b/hmp.c
index 56a3ed7375..f203a25740 100644
--- a/hmp.c
+++ b/hmp.c
@@ -102,6 +102,8 @@ void hmp_info_kvm(Monitor *mon, const QDict *qdict)
} else {
monitor_printf(mon, "not compiled\n");
It's obviously obsolete. Do some update.
Signed-off-by: Peter Xu
---
accel/kvm/kvm-all.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index 524c4ddfbd..b686531586 100644
--- a/accel/kvm/kvm-all.c
+++ b/accel/kvm/kvm-a
When synchronizing dirty bitmap from kernel KVM we do it in a
per-kvmslot fashion and we allocate the userspace bitmap for each of
the ioctl. This patch instead make the bitmap cache be persistent
then we don't need to g_malloc0() every time.
More importantly, the cached per-kvmslot dirty bitmap
Introduce a new memory region listener hook log_clear() to allow the
listeners to hook onto the points where the dirty bitmap is cleared by
the bitmap users.
Previously log_sync() contains two operations:
- dirty bitmap collection, and,
- dirty bitmap clear on remote site.
Let's take KVM as
Also we change the 2nd parameter of it to be the relative offset
within the memory region. This is to be used in follow up patches.
Signed-off-by: Peter Xu
---
exec.c | 3 ++-
include/exec/ram_addr.h | 2 +-
memory.c| 3 +--
3 files changed, 4 insertions(+), 4 de
Signed-off-by: Peter Xu
---
.../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +-
include/standard-headers/drm/drm_fourcc.h | 114 +++-
include/standard-headers/linux/ethtool.h | 48 +++--
.../linux/input-event-codes.h | 9 +-
include/standard-headers/linux/i
On 5/14/19 10:44 PM, Philippe Mathieu-Daudé wrote:
>> +/* Windowed register indexes. */
>> +enum {
>> +WREG_O0,
>> +WREG_O1,
>> +WREG_O2,
>> +WREG_O3,
>> +WREG_O4,
>> +WREG_O5,
>> +WREG_O6,
>> +WREG_O7,
>> +
>> +WREG_L0,
>> +WREG_L1,
>> +WREG_L2,
>> +
These helpers copy the source bitmap to destination bitmap with a
shift either on the src or dst bitmap.
Meanwhile, we never have bitmap tests but we should.
This patch also introduces the initial test cases for utils/bitmap.c
but it only tests the newly introduced functions.
Signed-off-by: Pete
Similar to 9460dee4b2 ("memory: do not touch code dirty bitmap unless
TCG is enabled", 2015-06-05) but for the migration bitmap - we can
skip the MIGRATION bitmap update if migration not enabled.
Reviewed-by: Paolo Bonzini
Signed-off-by: Peter Xu
---
include/exec/memory.h | 2 ++
include/exe
It's never used anywhere.
Reviewed-by: Paolo Bonzini
Signed-off-by: Peter Xu
---
include/exec/memory.h | 17 -
memory.c | 8
2 files changed, 25 deletions(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 9144a47f57..e6140e8a04 100644
--
This is v2 of the QEMU's KVM_CLEAR_DIRTY_LOG series. The major reason
for the repost is due to the new kvm capability recently introduced in
Linux 5.2-rc1 which is released just one day ago while the old cap is
obsolete now, so we'll need a linux header update.
v2:
- rebase, add r-bs from Paolo
-
Introduce KVMMemoryListener.slots_lock to protect the slots inside the
kvm memory listener. Currently it is close to useless because all the
KVM code path now is always protected by the BQL. But it'll start to
make sense in follow up patches where we might do remote dirty bitmap
clear and also we
cpu_physical_memory_sync_dirty_bitmap() has one RAMBlock* as
parameter, which means that it must be with RCU read lock held
already. Taking it again inside seems redundant. Removing it.
Instead comment on the functions about the RCU read lock.
Reviewed-by: Paolo Bonzini
Signed-off-by: Peter Xu
According to: https://spdx.org/ids-how, let's still allow QEMU to use
the SPDX license identifier:
// SPDX-License-Identifier: ***
Signed-off-by: Peter Xu
---
scripts/checkpatch.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.p
On 5/17/19 6:31 AM, Laurent Vivier wrote:
> Debian console-setup uses /proc/hardware to guess the keyboard layout.
> If the file /proc/hardware cannot be opened, the installation fails.
>
> This patch adds a pseudo /proc/hardware file to report the model of
> the machine. Instead of reporting a kn
On 5/17/19 6:31 AM, Laurent Vivier wrote:
> SPARC libc6 debian package wants to check the cpu level to be
> installed or not:
>
> WARNING: This machine has a SPARC V8 or earlier class processor.
> Debian lenny and later does not support such old hardware
> any longer.
>
> To avoid this, it
On Mon, May 20, 2019 at 08:59:56AM +0800, Wei Yang wrote:
>Now we have two identical build_mcfg functions.
>
>Consolidate them in acpi/pci.c.
>
>Signed-off-by: Wei Yang
>Reviewed-by: Philippe Mathieu-Daudé
>Reviewed-by: Igor Mammedov
Oops, I should drop these SOB.
>
>---
>v4:
> * ACPI_PCI dep
On Wed, May 15, 2019 at 02:15:39PM +0200, Juan Quintela wrote:
>We set multifd-channels.
>
>Reviewed-by: Dr. David Alan Gilbert
>Reviewed-by: Thomas Huth
>Signed-off-by: Juan Quintela
>---
> tests/migration-test.c | 48 ++
> 1 file changed, 48 insertions(+)
Alex Williamson 于2019年5月18日周六 下午10:20写道:
> On Fri, 17 May 2019 20:28:09 -0700
> Li Qiang wrote:
>
> > As the vmstate structure names aren't related with
> > the QOM type names.
>
> Seems contrary to the first patch in the series.
>
>
No, once there is a discussion of this:
-->https://lists.gnu.o
Alex Williamson 于2019年5月18日周六 下午10:18写道:
> On Fri, 17 May 2019 20:28:08 -0700
> Li Qiang wrote:
>
> Why? (No commit message, nor cover letter)
>
>
Once I think these are trivial so no cover letter and lack some commit
message.
I will add some commit message in the next revision.
For this patch
Now we have two identical build_mcfg functions.
Consolidate them in acpi/pci.c.
Signed-off-by: Wei Yang
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Igor Mammedov
---
v4:
* ACPI_PCI depends on both ACPI and PCI
* rebase on latest master, adjust arm Kconfig
v3:
* adjust changelog bas
This is obvious the member in AcpiMcfgInfo describe MCFG's property.
Remove the mcfg_ prefix.
Signed-off-by: Wei Yang
Suggested-by: Igor Mammedov
Reviewed-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
---
hw/i386/acpi-build.c | 14 +++---
1 file changed, 7 insertions(+), 7 de
To build MCFG, two information is necessary:
* bus number
* base address
Abstract these two information to AcpiMcfgInfo so that build_mcfg and
build_mcfg_q35 will have the same declaration.
Signed-off-by: Wei Yang
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Igor Mammedov
---
v4:
build_append_foo() API doesn't need explicit endianness conversions
which eliminates a source of errors and it makes build_mcfg() look like
declarative definition of MCFG table in ACPI spec, which makes it easy
to review.
Signed-off-by: Wei Yang
Suggested-by: Igor Mammedov
Reviewed-by: Igor Mamm
From: Igor Mammedov
Dummy table (with signature "QEMU") creation came from original SeaBIOS
codebase. And QEMU would have to keep it around if there were Q35 machine
that depended on keeping ACPI tables blob constant size. Luckily there
were no versioned Q35 machine types before commit:
(since
mcfg_start points to the start of MCFG table and is used in
build_header. While this information could be derived from mcfg.
This patch removes the unnecessary variable mcfg_start.
Signed-off-by: Wei Yang
Reviewed-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
---
hw/arm/virt-acpi-buil
This patch set tries to generalize MCFG table build process. And it is
based on one un-merged patch from Igor, which is included in this serials.
v4->v5:
* ACPI_PCI depends on both ACPI and PCI
* rebase on latest master, adjust arm Kconfig
* miss the reserved[8] of MCFG, add it back
On Fri, May 17, 2019 at 04:29:03PM +0200, Igor Mammedov wrote:
>On Fri, 17 May 2019 12:59:57 +
>Wei Yang wrote:
>
>> On Fri, May 17, 2019 at 01:11:16PM +0200, Igor Mammedov wrote:
>> >On Fri, 17 May 2019 08:51:14 +0800
>> >Wei Yang wrote:
>> >
>> >> Pointed out by Philippe Mathieu-Daud?? .
>>
On Fri, May 17, 2019 at 01:13:15PM +0200, Igor Mammedov wrote:
>On Fri, 17 May 2019 10:59:03 +0800
>Wei Yang wrote:
>
[..]
>>
>> Well, I hope this will not block the merge.
>>
>> I took a look in the change of default-configs/arm-softmmu.mak. The general
>> idea from Thomas is put those hard-c
Public bug reported:
Built from source on a debian system
Linux db08 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
Last git commit (from queued gdibson repository)
starting AIX 7.2 TL 2 SP 2 with the following : (the inst
Forgot that part (debugger output)
KDB(0)> wherre^H ^H^H ^He^M
si_pvthread+00 STACK:^M
[0008F418]dispatch+98 (0338, 02DC3838,^M
F1000816B0036CF0 [??])^M
[00234E34]flih_util+000440 ()^M
Exception (02743408) ^M
iar : 00AD0088 msr : 80001032
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 2 ++
linux-user/syscall-proc.inc.c | 28
linux-user/syscall.c | 18 --
linux-user/strace.list| 6 --
4 files changed, 30 insertions(+), 24 deletions(-)
diff -
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-proc.inc.c | 18 ++
linux-user/syscall.c | 13 -
linux-user/strace.list| 3 ---
4 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/linux-user/s
This removes the printing of the fdset outputs. It's hard to see how
this could have been reliable in a multi-threaded program, saving
syscall arguments to global variables.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 11
linux-user/strace.c | 80 --
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-file.inc.c | 96 +++
linux-user/syscall.c | 103 --
linux-user/strace.list| 3 -
4 files changed, 97 insertions(+), 106 de
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 16 +++
linux-user/syscall-file.inc.c | 32 +
linux-user/syscall.c | 38 ---
linux-user/strace.list| 12 ---
4 files changed, 48 in
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/syscall-proc.inc.c | 28
linux-user/syscall.c | 19 ---
linux-user/strace.list| 6 --
4 files changed, 32 insertions(+), 25 deletions(-)
dif
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 6 ++
linux-user/syscall.h | 1 +
linux-user/strace.c | 44 +++--
linux-user/syscall-sig.inc.c | 123 +++
linux-user/syscall.c | 109 --
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 2 ++
linux-user/syscall-file.inc.c | 26 ++
linux-user/syscall.c | 16
linux-user/strace.list| 6 --
4 files changed, 28 insertions(+), 22 deletions(-)
diff --git
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 4
linux-user/syscall-sig.inc.c | 18 ++
linux-user/syscall.c | 12
linux-user/strace.list | 6 --
4 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/linux-user/
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-proc.inc.c | 5 +
linux-user/syscall.c | 2 --
linux-user/strace.list| 3 ---
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall-defs.h b/linux-user/sys
There is no need to cast "int" to "long"; just use the
correct format in the first place.
Signed-off-by: Richard Henderson
---
linux-user/syscall-ioctl.inc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/syscall-ioctl.inc.c b/linux-user/syscall-ioctl.inc.c
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 2 ++
linux-user/syscall-time.inc.c | 33 +
linux-user/syscall.c | 31 ---
linux-user/strace.list| 6 --
4 files changed, 35 insertions(+), 37 de
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/strace.c | 27 ---
linux-user/syscall-file.inc.c | 28
linux-user/syscall.c | 30 --
linux-user/strace.list
This does drop the (questionable) siginfo_t printing.
But since we already do not handle more important things
in this area like sigset_t, this does not feel a loss.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 2 +
linux-user/strace.c | 138
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-proc.inc.c | 12
linux-user/syscall.c | 9 -
linux-user/strace.list| 3 ---
4 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/linux-user/syscall-def
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 1 +
linux-user/syscall-sig.inc.c | 37
linux-user/syscall.c | 36 ---
linux-user/strace.list | 3 ---
4 files changed, 38 insertions(+), 39 del
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 6 +
linux-user/syscall-sig.inc.c | 51
linux-user/syscall.c | 42 ++---
linux-user/strace.list | 6 -
4 files changed, 59 insertions(+), 46 del
Note that pipe2 is universally available for guests.
Implement host support with syscall when !CONFIG_PIPE2.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 10 ++
linux-user/syscall-file.inc.c | 51 +++
linux-user/syscall.c | 65 +++-
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 6
linux-user/syscall-proc.inc.c | 52 +++
linux-user/syscall.c | 46 ---
linux-user/strace.list| 6
4 files changed, 58 insertions(+), 52
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 1 +
linux-user/syscall.h | 7 +++-
linux-user/strace.c | 76 ++--
linux-user/syscall-sig.inc.c | 5 +++
linux-user/syscall.c | 2 -
linux-user/strace.list | 3 -
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 6 ++
linux-user/syscall-sig.inc.c | 32
linux-user/syscall.c | 27 ---
linux-user/strace.list | 6 --
4 files changed, 38 insertions(+), 33 deletio
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 10 ++
linux-user/strace.c | 14 ---
linux-user/syscall-sig.inc.c | 172 +++
linux-user/syscall.c | 160
linux-user/strace.list | 6 --
5
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 4
linux-user/syscall-sig.inc.c | 45
linux-user/syscall.c | 36 -
linux-user/strace.list | 6 -
4 files changed, 49 insertions(+), 42 dele
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/strace.c | 12
linux-user/syscall-file.inc.c | 13 +
linux-user/syscall.c | 6 --
linux-user/strace.list| 3 ---
5 files changed, 14 insertions(+), 21 de
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/syscall-proc.inc.c | 12
linux-user/syscall.c | 6 --
linux-user/strace.list| 6 --
4 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/linux-user/syscall-
Note that dup3 is universally available for guests.
Implement host support with syscall when !CONFIG_DUP3.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 5 +
linux-user/syscall-file.inc.c | 42 +++
linux-user/syscall.c | 33 +++
Signed-off-by: Richard Henderson
---
v7: Do not accidentally change type of "cmd".
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-ioctl.inc.c | 873 +
linux-user/syscall.c | 852 +---
linux-user/strace.list
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 2 ++
linux-user/syscall-proc.inc.c | 10 ++
linux-user/syscall.c | 4
linux-user/strace.list| 6 --
4 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/linux-user/syscall-defs.h
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 3 +++
linux-user/syscall-time.inc.c | 12
linux-user/syscall.c | 9 -
linux-user/strace.list| 3 ---
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/linux-user/syscall-d
Iterate based on the size of the array instead.
Signed-off-by: Richard Henderson
---
linux-user/syscall-ioctl.inc.c | 14 +++---
linux-user/syscall.c | 6 ++
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/linux-user/syscall-ioctl.inc.c b/linux-user/syscall
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-file.inc.c | 5 +
linux-user/syscall.c | 2 --
linux-user/strace.list| 3 ---
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall-defs.h b/linux-user/sys
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-file.inc.c | 18 ++
linux-user/syscall.c | 11 ---
linux-user/strace.list| 3 ---
4 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/linux-user/sys
Preserving strace functionality is tricky with this one.
Rearrange to lookup structures that contain the data for
both execution and strace for each command.
Do not allow lookup of 64-bit fcntl commands from 32-bit fcntl.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 6
Canonicalise the target syscall name on llseek (new kernels)
instead of _llseek (old kernels). Always use host lseek(3)
rather than attempting to use the host llseek(2).
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 6 ++
linux-user/syscall.h | 1 +
linux-u
Note that faccessat is unconditionally available.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/syscall.h | 1 +
linux-user/strace.c | 33 -
linux-user/syscall-file.inc.c | 25 +
No functional change. This will aid moving everything
related to ioctls to a separate file.
Signed-off-by: Richard Henderson
---
linux-user/syscall.c | 113 +++
1 file changed, 61 insertions(+), 52 deletions(-)
diff --git a/linux-user/syscall.c b/linux-u
Note that mkdirat is universally available.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/strace.c | 27 ---
linux-user/syscall-file.inc.c | 25 +
linux-user/syscall.c | 16 -
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 3 +++
linux-user/syscall-time.inc.c | 32
linux-user/syscall.c | 13 +
linux-user/strace.list| 3 ---
4 files changed, 36 insertions(+), 15 deletions(-)
create mo
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 6 ++
linux-user/syscall-sig.inc.c | 36
linux-user/syscall.c | 12 +---
linux-user/strace.list | 6 --
4 files changed, 43 insertions(+), 17 deletions(-)
crea
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-proc.inc.c | 25 +
linux-user/syscall.c | 18 --
linux-user/strace.list| 3 ---
4 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/
1 - 100 of 207 matches
Mail list logo