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
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
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.
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
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
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
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
> >
>
>
> > 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
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
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
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
+++
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
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 +-
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:
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 ++
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
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
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
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
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
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:
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
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
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
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
---
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
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é
---
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
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
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 :
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
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
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
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(-)
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
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
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
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
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
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
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
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
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 --
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
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
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
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
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
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
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
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
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 |
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 +
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
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
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(-)
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
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 3 +++
linux-user/syscall-proc.inc.c | 7 +++
linux-user/syscall.c | 4
linux-user/strace.list| 3 ---
4 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/linux-user/syscall-defs.h
Note that unlinkat is universally provided.
Implement rmdir in terms of unlinkat.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 7 ++
linux-user/syscall.h | 1 +
linux-user/strace.c | 43 ---
Note that renameat2 is universally available for guests.
Merge sys_renameat2 into the new do_renameat2 helper.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 8 +
linux-user/syscall.h | 1 +
linux-user/strace.c | 39 ++---
Note that mknodat is universally provided.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/strace.c | 39 ---
linux-user/syscall-file.inc.c | 26 +++
linux-user/syscall.c | 16
Note that umount2 is unconditionally available.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/syscall.h | 1 +
linux-user/strace.c | 30 --
linux-user/syscall-file.inc.c | 25 +
Because of the ipc multiplex syscall, these must be done all at once.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h| 38 ++
linux-user/strace.c | 83 ---
linux-user/syscall-ipc.inc.c | 1088 ++
linux-user/syscall.c | 973
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall.h | 1 +
linux-user/strace.c | 21 +++--
linux-user/syscall-file.inc.c | 48 ++
linux-user/syscall.c | 55
Note that syncfs is universally available.
If !CONFIG_SYNCFS, provide our own syscall replacement.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 2 ++
linux-user/syscall-file.inc.c | 11 +++
linux-user/syscall.c | 20
Note that chdir is universally provided.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/strace.c | 12
linux-user/syscall-file.inc.c | 14 ++
linux-user/syscall.c | 6 --
linux-user/strace.list| 3
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 9
linux-user/strace.c | 41 ---
linux-user/syscall-file.inc.c | 95 +++
linux-user/syscall.c | 63 ---
linux-user/strace.list| 9
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 9 +
linux-user/syscall-proc.inc.c | 23 +++
linux-user/syscall.c | 14 --
linux-user/strace.list| 9 -
4 files changed, 32 insertions(+), 23 deletions(-)
diff
Note that linkat is universally provided.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 4
linux-user/strace.c | 29 -
linux-user/syscall-file.inc.c | 28
linux-user/syscall.c | 32
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/strace.c | 32 --
linux-user/syscall-proc.inc.c | 110 ++
linux-user/syscall.c | 97 --
linux-user/strace.list|
A trivial extension to our current execve implementation
to support the new(ish) syscall.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 1 +
linux-user/syscall-proc.inc.c | 19 ++-
linux-user/syscall.c | 3 ++-
linux-user/strace.list| 3
Note that fchmodat is universally provided.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 5 +
linux-user/strace.c | 28
linux-user/syscall-file.inc.c | 30 ++
linux-user/syscall.c | 18
The kernel interface, which we are supposed to be implementing,
takes a fifth argument: an rusage pointer akin to wait4.
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 2 +-
linux-user/syscall-proc.inc.c | 27 +++
2 files changed, 20 insertions(+),
Signed-off-by: Richard Henderson
---
linux-user/syscall-defs.h | 3 +++
linux-user/strace.c | 13 -
linux-user/syscall-file.inc.c | 16
linux-user/syscall.c | 9 -
linux-user/strace.list| 3 ---
5 files changed, 19
1 - 100 of 190 matches
Mail list logo