From: Wilfred Mallawa
This patch fixes up minor typos in ibex_spi_host
Signed-off-by: Wilfred Mallawa
Reviewed-by: Alistair Francis
Reviewed-by: Andrew Jones
Message-Id: <20220823061201.132342-2-wilfred.mall...@opensource.wdc.com>
Signed-off-by: Alistair Francis
---
hw/ssi/ibex_spi_host.c |
From: Alistair Francis
On the OpenTitan hardware the resetvec is fixed at the start of ROM. In
QEMU we don't run the ROM code and instead just jump to the next stage.
This means we need to be a little more flexible about what the resetvec
is.
This patch allows us to set the resetvec from the com
From: Frank Chang
tinfo.info:
One bit for each possible type enumerated in tdata1.
If the bit is set, then that type is supported by the currently
selected trigger.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Reviewed-by: LIU Zhiwei
Message-Id: <20220909134
From: Frank Chang
Replace type2_trigger_t with the real tdata1, tdata2, and tdata3 CSRs,
which allows us to support more types of triggers in the future.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Reviewed-by: LIU Zhiwei
Message-Id: <20220909134215.1843865-4-bme
From: Alex Bennée
The example code is rendered slightly mangled due to missing code
block. Properly escape the code block and add shell prompt and qemu to
fit in with the other examples on the page.
Signed-off-by: Alex Bennée
Reviewed-by: Alistair Francis
Message-Id: <20220905163939.1599368-1-
From: Frank Chang
After RISCVException enum is introduced, riscv_csrrw_debug() returns
RISCV_EXCP_NONE to indicate there's no error. RISC-V vector GDB stub
should check the result against RISCV_EXCP_NONE instead of value 0.
Otherwise, 'E14' packet would be incorrectly reported for vector CSRs
whe
From: Frank Chang
Trigger actions are shared among all triggers. Extract to a common
function.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Reviewed-by: LIU Zhiwei
[bmeng: handle the DBG_ACTION_NONE case]
Signed-off-by: Bin Meng
Message-Id: <20220909134215.184386
From: Alistair Francis
Instead of using our properties to set a config value which then might
be used to set the resetvec (depending on your timing), let's instead
just set the resetvec directly in the env struct.
This allows us to set the reset vec from the command line with:
-global driver
From: Bernhard Beschow
SiFiveEState inherits from SysBusDevice while it's TypeInfo claims it to
inherit from TYPE_MACHINE. This is an inconsistency which can cause
undefined behavior such as memory corruption.
Change SiFiveEState to inherit from MachineState since it is registered
as a machine.
we just set high 32bit 0x as the other float instructions do.
Signed-off-by: Song Gao
---
target/loongarch/fpu_helper.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/target/loongarch/fpu_helper.c b/target/loongarch/fpu_helper.c
index 4b9637210a..1
From: Alistair Francis
The resetvec for the OpenTitan machine ended up being set to an out of
date value, so let's fix that and bump it to the correct start address
(after the boot ROM)
Fixes: bf8803c64d75 "hw/riscv: opentitan: bump opentitan version"
Signed-off-by: Alistair Francis
Message-Id:
From: Yang Liu
Starting with RVV1.0, the original vf[w]redsum_vs instruction was renamed
to vf[w]redusum_vs. The distinction between ordered and unordered is also
more consistent with other instructions, although there is no difference
in implementation between the two for QEMU.
Signed-off-by: Y
From: Frank Chang
The value of tselect CSR can be written should be limited within the
range of supported triggers number.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Reviewed-by: LIU Zhiwei
Message-Id: <20220909134215.1843865-5-bmeng...@gmail.com>
Signed-off-by:
Bin Meng writes:
> Hi Markus,
>
> On Tue, Sep 27, 2022 at 2:22 PM Markus Armbruster wrote:
>>
>> Bin Meng writes:
>>
>> > On Mon, Sep 26, 2022 at 6:13 PM Markus Armbruster
>> > wrote:
>> >>
>> >> Bin Meng writes:
>> >>
>> >> > From: Bin Meng
>> >> >
>> >> > At present there are two callers
From: Frank Chang
Current RISC-V debug assumes that only type 2 trigger is supported.
To allow more types of triggers to be supported in the future
(e.g. type 6 trigger, which is similar to type 2 trigger with additional
functionality), we should determine the trigger type from tdata1.type.
RV_
From: Frank Chang
Introduce build_tdata1() to build tdata1 register content, which can be
shared among all types of triggers.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Reviewed-by: LIU Zhiwei
[bmeng: moved RV{32,64}_DATA_MASK definition to this patch]
Signed-of
The following changes since commit 99d6b11b5b44d7dd64f4cb1973184e40a4a174f8:
Merge tag 'pull-target-arm-20220922' of
https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-09-26
13:38:26 -0400)
are available in the git repository at:
https://github.com/jasowang/qemu.git tags/ne
From: Frank Chang
Type 6 trigger is similar to a type 2 trigger, but provides additional
functionality and should be used instead of type 2 in newer
implementations.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Message-Id: <20220909134215.1843865-9-bmeng...@gmail.c
From: Eugenio Pérez
It was returned as error before. Instead of it, simply update the
corresponding field so qemu can send it in the migration data.
Signed-off-by: Eugenio Pérez
Acked-by: Si-Wei Liu
Signed-off-by: Jason Wang
---
hw/net/virtio-net.c | 17 ++---
1 file changed, 6 i
From: Frank Chang
Type 2 trigger cannot be fired in VU/VS modes.
Signed-off-by: Frank Chang
Reviewed-by: Bin Meng
Signed-off-by: Bin Meng
Message-Id: <20220909134215.1843865-8-bmeng...@gmail.com>
Signed-off-by: Alistair Francis
---
target/riscv/debug.c | 10 ++
1 file changed, 10 in
Signed-off-by: Song Gao
---
target/loongarch/insn_trans/trans_farith.c.inc | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/target/loongarch/insn_trans/trans_farith.c.inc
b/target/loongarch/insn_trans/trans_farith.c.inc
index 65ad2ffab8..7bb3f41aee 100644
--- a/ta
From: Yang Liu
Remove duplicate code by wrapping vfwredsum_vs's OP function.
Signed-off-by: Yang Liu
Reviewed-by: Alistair Francis
Reviewed-by: Frank Chang
Message-Id: <20220817074802.20765-1-liuyan...@iscas.ac.cn>
Signed-off-by: Alistair Francis
---
target/riscv/vector_helper.c | 56 ++
Hi,
This series fix some bugs find from RISU test.
v2:
-remove patch5 div if x/0 set dividend to 0.
Song Gao (4):
target/loongarch: ftint_xxx insns set the result high 32bit 0x
target/loongarch: bstrins.w need set dest register EXT_SIGN
target/loongarch: Fix fnm{sub/add}_{s/d} se
if fj ==0 or fj == INT32_MIN/INT64_MIN, LoongArch host set fcsr cause exception
FP_DIV0,
So we need set exception flags float_flagdivbyzero if fj ==0.
Signed-off-by: Song Gao
---
target/loongarch/fpu_helper.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/target/loongarch/f
Reviewed-by: Frank Chang
On Thu, Sep 22, 2022 at 4:42 PM Tommy Wu wrote:
> Add some simple tests of the watchdog timer in the always-on domain device
> of HiFive 1 rev b.
>
> Signed-off-by: Tommy Wu
> ---
> tests/qtest/meson.build | 3 +
> tests/qtest/sifive-e-aon-watchdog-
Signed-off-by: Song Gao
---
target/loongarch/insn_trans/trans_bit.c.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/loongarch/insn_trans/trans_bit.c.inc
b/target/loongarch/insn_trans/trans_bit.c.inc
index 9337714ec4..33e94878fd 100644
--- a/target/loongarch/ins
From: Eugenio Pérez
This allows to simplify the code. Rename to status while we're at it.
Signed-off-by: Eugenio Pérez
Signed-off-by: Jason Wang
---
net/vhost-vdpa.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa
From: Eugenio Pérez
So we are sure we can update the device model properly before sending to
the device.
Signed-off-by: Eugenio Pérez
Signed-off-by: Jason Wang
---
net/vhost-vdpa.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index 3950e4f..
Le 18/09/2022 à 21:45, Helge Deller a écrit :
Here is a bunch of patches for linux-user.
Most of them add missing syscalls and enhance the tracing/logging.
Some of the patches are target-hppa specific.
I've tested those on productive hppa debian buildd servers (running qemu-user).
Thanks!
Helge
From: Ding Hui
Like commit 034d00d48581 ("e1000: set RX descriptor status in
a separate operation"), there is also same issue in e1000e, which
would cause lost packets or stop sending packets to VM with DPDK.
Do similar fix in e1000e.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/402
Le 24/09/2022 à 13:44, Helge Deller a écrit :
Some additional patches for linux-user, which mostly target
the hppa platform.
This series is on top of my previous posted patch series.
Please review.
Helge
Helge Deller (7):
linux-user: Fix TARGET_PROT_SEM for XTENSA
linux-user: Add proper
Reviewed-by: Frank Chang
On Thu, Sep 22, 2022 at 4:41 PM Tommy Wu wrote:
> The watchdog timer is in the always-on domain device of HiFive 1 rev b,
> so this patch added the AON device to the sifive_e machine. This patch
> only implemented the functionality of the watchdog timer.
>
> Signed-off-
From: Eugenio Pérez
Same way as with the MAC, restore the expected number of queues at
device's start.
Signed-off-by: Eugenio Pérez
Signed-off-by: Jason Wang
---
net/vhost-vdpa.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.
From: Eugenio Pérez
Since there may be many commands we need to issue to load the NIC
state, let's split them in individual functions
Signed-off-by: Eugenio Pérez
Signed-off-by: Jason Wang
---
net/vhost-vdpa.c | 62
1 file changed, 40 i
Reviewed-by: Frank Chang
On Thu, Sep 22, 2022 at 4:41 PM Tommy Wu wrote:
> Create the AON device when we realize the sifive_e machine.
> This patch only implemented the functionality of the watchdog timer,
> not all the functionality of the AON device.
>
> Signed-off-by: Tommy Wu
> ---
> hw/r
From: Cal Peake
Define a QEMU special key constant for the tab key and add an entry for
it in the qcode_to_keysym table. This allows tab completion to work again
in the SDL monitor virtual console, which has been broken ever since the
migration from SDL1 to SDL2.
Signed-off-by: Cal Peake
Messag
From: Eugenio Pérez
Finally enable SVQ with MQ feature.
Signed-off-by: Eugenio Pérez
Signed-off-by: Jason Wang
---
net/vhost-vdpa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index c6cbe2f..4bc3fd0 100644
--- a/net/vhost-vdpa.c
+++ b/net/vhost-vdpa
From: lu zhipeng
If the net tap initializes successful, but failed during
network card hot-plugging, the net-tap will remains,
so cleanup.
Signed-off-by: lu zhipeng
Signed-off-by: Jason Wang
---
net/tap.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/
From: Marc-André Lureau
The guest agent doesn't know what is the current serial state. Reset the
serial value whenever a new agent connection is established.
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2124446
Signed-off-by: Marc-André Lureau
Message-Id: <20220912102455.111765-4-marcand
Le 05/09/2022 à 19:54, Richard Henderson a écrit :
On 8/31/22 05:10, fa...@mail.ustc.edu.cn wrote:
From 4ebe8a67ed7c4b1220957b2b67a62ba60e0e80ec Mon Sep 17 00:00:00 2001
From: fanwenjie
Date: Wed, 31 Aug 2022 11:55:25 +0800
Subject: [PATCH] linux-user: fix bug about missing signum convert of s
u.git tags/kraxel-20220927-pull-request
for you to fetch changes up to 49a99ecb2290571b2e3f464c13e9c73b87ca91c4:
virtio-gpu: update scanout if there is any area covered by the rect
(2022-09-27 07:32:31 +0200)
usb: make usbnet work
From: Marc-André Lureau
This helps debugging clipboard serial sync issues.
Signed-off-by: Marc-André Lureau
Message-Id: <20220912102455.111765-2-marcandre.lur...@redhat.com>
[ kraxel: code style fix ]
Signed-off-by: Gerd Hoffmann
---
ui/clipboard.c | 11 +--
ui/vdagent.c| 4 ++
From: Thomas Huth
If a guest sets up bad descriptors, it could force QEMU to access
non-existing memory regions. Thus we should check the return value
of dma_memory_read/write() to make sure that these errors don't go
unnoticed.
Signed-off-by: Thomas Huth
Message-Id: <20220817160016.49752-1-th.
From: Marc-André Lureau
In order to reset the guest agent, we send CLOSED & OPENED events.
They are correctly received by the guest kernel. However, they might not
be noticed by the guest agent process, as the IO task (poll() for
example) might be wake up after both CLOSED & OPENED have been
pro
From: Volker Rümelin
The png_destroy_write_struct() function frees all memory used by
libpng. Don't use the glib auto cleanup mechanism to free the
memory allocated by libpng again. For the pixman image, use only the
auto cleanup mechanism and remove the qemu_pixman_image_unref()
function call to
On 9/27/22 03:49, Joel Stanley wrote:
On Mon, 26 Sept 2022 at 07:05, Cédric Le Goater wrote:
On 9/26/22 08:26, Cédric Le Goater wrote:
Currently, the CPU features exposed to the AST2600 QEMU machines are :
half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evts
From: Akihiko Odaki
As ui/cocoa does no longer override main(), ui/gtk and ui/sdl
can be enabled even ui/cocoa is enabled.
Signed-off-by: Akihiko Odaki
Reviewed-by: Peter Maydell
Reviewed-by: Paolo Bonzini
Message-Id: <20220819132756.74641-4-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffma
From: Michael Brown
usbnet_receive() does not currently wake up the USB endpoint, leading
to a dead RX datapath when used with a host controller such as xHCI
that relies on being woken up.
Fix by adding a call to usb_wakeup() at the end of usbnet_receive().
Signed-off-by: Michael Brown
Message
Claudio Fontana writes:
> On 9/26/22 12:38, Kevin Wolf wrote:
>> Am 24.09.2022 um 01:21 hat Claudio Fontana geschrieben:
>>> improve error handling during module load, by changing:
>>>
>>> bool module_load(const char *prefix, const char *lib_name);
>>> void module_load_qom(const char *type);
>>>
From: Qiang Liu
An abort happens in ohci_frame_boundary() when ohci->done is 0 [1].
``` c
static void ohci_frame_boundary(void *opaque)
{
// ...
if (ohci->done_count == 0 && !(ohci->intr_status & OHCI_INTR_WD)) {
if (!ohci->done)
abort(); <
From: Michael Brown
The USB_CDC_SET_ETHERNET_PACKET_FILTER request is mandatory for
CDC-ECM devices. Accept this request, ignoring the actual filter
value (to match the existing behaviour for RNDIS).
Signed-off-by: Michael Brown
Message-Id: <20220906183053.3625472-3-mc...@ipxe.org>
Signed-off-
From: Akihiko Odaki
This reverts commit 47281859f66bdab1974fb122cab2cbb4a1c9af7f.
Signed-off-by: Akihiko Odaki
Reviewed-by: Emanuele Giuseppe Esposito
Reviewed-by: Peter Maydell
Reviewed-by: Paolo Bonzini
Message-Id: <20220819132756.74641-3-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffma
From: Volker Rümelin
Commit ab32b78cd1 "audio: Simplify audio_bug() removing old code"
introduced abort() in audio_bug() for regular builds.
audio_bug() was never meant to abort QEMU for the following
reasons.
- There's code in audio_bug() that expects audio_bug() gets
called more than on
From: Philippe Mathieu-Daudé
When building QEMU with DEBUG_ATI defined then running with
'-device ati-vga,romfile="" -d unimp,guest_errors -trace ati\*'
we get:
ati_mm_write 4 0x16c0 DP_CNTL <- 0x1
ati_mm_write 4 0x146c DP_GUI_MASTER_CNTL <- 0x2
ati_mm_write 4 0x16c8 DP_MIX <- 0xff
a
From: Michael Brown
Signed-off-by: Michael Brown
Message-Id: <20220906183053.3625472-5-mc...@ipxe.org>
Signed-off-by: Gerd Hoffmann
---
hw/usb/dev-network.c | 27 +--
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/hw/usb/dev-network.c b/hw/usb/dev-networ
From: Volker Rümelin
This reverts commit 8e30d39bade3010387177ca23dbc2244352ed4a3.
Revert commit 8e30d39bad "audio: Log context for audio bug"
to make error propagation work again.
Signed-off-by: Volker Rümelin
Message-Id: <20220917131626.7521-1-vr_q...@t-online.de>
Signed-off-by: Gerd Hoffman
On Sun, Sep 18, 2022 at 1:58 AM Michael S. Tsirkin wrote:
>
> On Fri, Sep 16, 2022 at 09:30:42PM +0530, Ani Sinha wrote:
> > On Thu, Jul 28, 2022 at 12:08 AM Ani Sinha wrote:
> > >
> > >
> > >
> > > On Mon, 25 Jul 2022, Ani Sinha wrote:
> > >
> > > >
> > > >
> > > > On Sat, 16 Jul 2022, Michael S
On 9/27/22 09:32, Laurent Vivier wrote:
Le 18/09/2022 à 21:45, Helge Deller a écrit :
Here is a bunch of patches for linux-user.
Most of them add missing syscalls and enhance the tracing/logging.
Some of the patches are target-hppa specific.
I've tested those on productive hppa debian buildd se
From: Dongwon Kim
The scanout is currently updated only if the whole rect is inside the
scanout space. This is not a correct condition because the scanout should
be updated even a small area in the scanout space is covered by the rect.
Cc: Gerd Hoffmann
Signed-off-by: Dongwon Kim
Reviewed-by:
From: Alexandre Ratchov
sndio is the native API used by OpenBSD, although it has been ported to
other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.).
Signed-off-by: Brad Smith
Signed-off-by: Alexandre Ratchov
Reviewed-by: Volker Rümelin
Tested-by: Volker Rümelin
Message-Id:
From: Marc-André Lureau
Not only we have to reset the vdagent clipboards serial state, but also
the current QEMU clipboards info serial (the value is currently used by
qemu_clipboard_check_serial, only used by -display dbus).
Signed-off-by: Marc-André Lureau
Message-Id: <20220912102455.111765-5
Hi all,
now that Gitlab is giving us pressure on the amount of free CI minutes, I
wonder whether we should maybe move the Cirrus-CI jobs out of the gitlab-CI
dashboard again? We could add the jobs to our .cirrus-ci.yml file instead,
like we did it in former times...
Big advantage would be
From: Marc-André Lureau
The incoming grab event should have a higher serial.
See also "vdagent: introduce VD_AGENT_CAP_CLIPBOARD_GRAB_SERIAL":
https://gitlab.freedesktop.org/spice/spice-protocol/-/commit/045a6978d6dbbf7046affc5c321fa8177c8cce56
This is only a relevant fix for the -display dbus,
From: Akihiko Odaki
This work is based on:
https://patchew.org/QEMU/20220317125534.38706-1-philippe.mathieu.da...@gmail.com/
Simplify the initialization dance by running qemu_init() in the main
thread before the Cocoa event loop starts. The secondary thread only
runs only qemu_main_loop() and qe
From: Qiang Liu
The abort() in xhci_find_stream() can be triggered via enabling the secondary
stream arrays by setting linear stream array (LSA) bit (in endpoint context) to
0. We may show warnings and drop this operation.
Fixes: 024426acc0a2 ("usb-xhci: usb3 streams")
Reported-by: Qiang Liu
Re
Le 27/09/2022 à 10:56, Helge Deller a écrit :
On 9/27/22 09:32, Laurent Vivier wrote:
Le 18/09/2022 à 21:45, Helge Deller a écrit :
Here is a bunch of patches for linux-user.
Most of them add missing syscalls and enhance the tracing/logging.
Some of the patches are target-hppa specific.
I've t
Hey Michael, when you get the chance, could you review these patches for me?
Specifically patch 3/6, as that has the majority of the changes made for this
series. Thanks!
Jonah
From: Jonah Palmer
Sent: Thursday, August 11, 2022 8:26 AM
To: qemu-devel@nongnu.org
Add handler for fatal errors. Moves device into error state where it
stops responding until the guest resets it.
Guest can send illegal requests where scsi command and usb packet
transfer directions are inconsistent. Use the new usb_msd_fatal_error()
function instead of assert() in that case.
R
On Sun, Sep 11, 2022 at 10:46 PM Arwed Meyer wrote:
> Unaligned i/o access on serial UART works on real PCs.
> This is used for example by FreeDOS CTMouse driver. Without this it
> can't reset and detect serial mice.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/77
> Signed-off-by:
Change ordering to avoid adding forward declarations in
following patches. Fix comment code style while being
at it. No functional change.
Signed-off-by: Gerd Hoffmann
Message-Id: <20220830063827.813053-2-kra...@redhat.com>
---
hw/usb/dev-storage.c | 26 ++
1 file chang
On Mon, 26 Sep 2022 11:32:06 -0400
Peter Xu wrote:
> It's true that when vcpus<=255 we don't require the length of 32bit APIC
> IDs. However here since we already have EIM=ON it means the hypervisor
> will declare the VM as x2apic supported (e.g. VT-d ECAP register will have
> EIM bit 4 set), so
From: Michael Brown
The xHCI controller will ignore the endpoint MTU and so may deliver
packets of any length. Detect short packets as being any packet that
has a length of zero or a length that is not a multiple of the MTU.
Signed-off-by: Michael Brown
Message-Id: <20220906183053.3625472-4-mc
Laurent Vivier writes:
> Copied from socket netdev file and modified to use SocketAddress
> to be able to introduce new features like unix socket.
>
> "udp" and "mcast" are squashed into dgram netdev, multicast is detected
> according to the IP address type.
> "listen" and "connect" modes are man
Reviewed-by: Frank Chang
On Wed, Sep 14, 2022 at 6:12 PM Alistair Francis via
wrote:
> Instead of using our properties to set a config value which then might
> be used to set the resetvec (depending on your timing), let's instead
> just set the resetvec directly in the env struct.
>
> This allo
On 9/27/22 09:54, Markus Armbruster wrote:
> Claudio Fontana writes:
>
>> On 9/26/22 12:38, Kevin Wolf wrote:
>>> Am 24.09.2022 um 01:21 hat Claudio Fontana geschrieben:
improve error handling during module load, by changing:
bool module_load(const char *prefix, const char *lib_nam
Le 25/07/2022 à 13:00, Peter Maydell a écrit :
For handling guest POSIX timers, we currently use an array
g_posix_timers[], whose entries are a host timer_t value, or 0 for
"this slot is unused". When the guest calls the timer_create syscall
we look through the array for a slot containing 0, and
Le 03/08/2022 à 12:30, Jiaxun Yang a écrit :
AT_BASE_PLATFORM is a elf auxiliary vector pointing to a string
to pass some architecture information.
See getauxval(3) man-page.
Signed-off-by: Jiaxun Yang
Reviewed-by: Philippe Mathieu-Daudé
---
linux-user/elfload.c | 29
On Mon, Sep 26, 2022 at 09:32:40PM +0300, Dmitry Osipenko wrote:
> On 9/23/22 15:32, Gerd Hoffmann wrote:
> > On Tue, Sep 13, 2022 at 12:50:22PM +0200, Antonio Caggiano wrote:
> >> From: Dmitry Osipenko
> >>
> >> Host blobs don't need udmabuf, it's only needed by guest blobs. The host
> >> blobs a
Hi
On Sun, Sep 11, 2022 at 10:39 PM Arwed Meyer wrote:
> Detect mouse reset via RTS or DTR line:
> Don't send or process anything while in reset.
> When coming out of reset, send ID sequence first thing.
> This allows msmouse to be detected by common mouse drivers.
>
> Resolves: https://gitlab.c
Le 17/08/2022 à 14:39, Ilya Leoshkevich a écrit :
Linux kernel does this in fpregs_store() and fpregs_load(), so
qemu-user should do this as well.
Found by running valgrind's none/tests/s390x/test_sig.
Signed-off-by: Ilya Leoshkevich
---
linux-user/s390x/signal.c | 2 ++
1 file changed, 2 i
On Tue, Sep 27, 2022 at 01:43:15PM +0530, Ani Sinha wrote:
> On Sun, Sep 18, 2022 at 1:58 AM Michael S. Tsirkin wrote:
> >
> > On Fri, Sep 16, 2022 at 09:30:42PM +0530, Ani Sinha wrote:
> > > On Thu, Jul 28, 2022 at 12:08 AM Ani Sinha wrote:
> > > >
> > > >
> > > >
> > > > On Mon, 25 Jul 2022, An
Signed-off-by: Helge Deller
---
linux-user/strace.list | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 31a2ccd76d..9bb234a584 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -358,7 +358,7 @@
{ TARGET_NR
Signed-off-by: Helge Deller
---
linux-user/strace.list | 3 +++
linux-user/syscall.c | 19 +++
2 files changed, 22 insertions(+)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 2fa74b7203..31a2ccd76d 100644
--- a/linux-user/strace.list
+++ b/linux-user/strac
On 26/09/2022 15.38, Alex Bennée wrote:
The point of qtest is to simulate how running code might interact with
the system. However because it's not a real system we have places in
the code which especially handle check qtest_enabled() before
referencing current_cpu. Now we can encode these detail
Hi
On Mon, Sep 26, 2022 at 7:05 PM Bin Meng wrote:
> On Mon, Sep 26, 2022 at 9:27 PM Marc-André Lureau
> wrote:
> >
> > Hi
> >
> > On Sun, Sep 25, 2022 at 4:35 PM Bin Meng wrote:
> >>
> >> From: Xuzhou Cheng
> >>
> >> The combination of GENERIC_WRITE and FILE_SHARE_READ options does not
> >>
Le 29/08/2022 à 04:10, Richard Henderson a écrit :
Signed-off-by: Richard Henderson
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 8fbd5a9556..8bf4b79a9e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.
Le 29/08/2022 à 04:10, Richard Henderson a écrit :
Leave only the argument adjustments within the shift,
and sink the actual syscall to the end. Sink the
timespec conversion as well, as there will be more users.
Signed-off-by: Richard Henderson
---
linux-user/syscall.c | 60 +
Hi
On Mon, Sep 26, 2022 at 3:39 PM Stefan Berger wrote:
>
> Add the --tpm2 option to the swtpm command line to run a TPM 2.
>
> Signed-off-by: Stefan Berger
> ---
> docs/specs/tpm.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/docs/specs/tpm.rst b/docs/specs/tpm.rst
> index 3be190
This is new in Meson 0.60.0.
Signed-off-by: Paolo Bonzini
---
meson.build | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/meson.build b/meson.build
index 8be01ba1c3..e1700d1d55 100644
--- a/meson.build
+++ b/meson.build
@@ -825,14 +825,10 @@ if have_system and ge
Le 29/08/2022 à 04:10, Richard Henderson a écrit :
The val argument to FUTEX_FD is a signal number. Convert to match
the host, as it will be converted back when the signal is delivered.
Signed-off-by: Richard Henderson
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --g
The test is slightly weaker than before, because it does not
call an extern "C" function from a C source file. However,
in practice what we seek to detect is ABI compatibility of the
various sanitizer flags, and for that it is enough to compile
anything with CC and link it with CXX.
Signed-off-by
Le 03/08/2022 à 12:30, Jiaxun Yang a écrit :
Match most appropriate base platform string based on insn_flags.
Logic is aligned with aligned with set_isa() from
arch/mips/kernel/cpu-probe.c in Linux kernel.
Signed-off-by: Jiaxun Yang
Reviewed-by: Philippe Mathieu-Daudé
---
linux-user/elfload.
When the emulation stops with a hard exception it's very useful for
debugging purposes to dump the current guest memory layout (for an
example see /proc/self/maps) beside the CPU registers.
The open_self_maps() function provides such a memory dump, but since
it's located in the syscall.c file, var
Update Meson to 0.61.5 to fix a few longstanding issues:
- `checkinstall` on Debian Bullseye fails with `FileNotFoundError:` (#848)
- Meson warns about a broken Python install on Debian/Ubuntu (#873)
- dbus-display must be built as a module
Paolo Bonzini (5):
ui: fix path to dbus-display1.h
me
On 9/5/22 17:10, Pierre Morel wrote:
On 9/5/22 13:32, Nico Boehr wrote:
Quoting Pierre Morel (2022-09-02 09:55:22)
S390x do not support multithreading in the guest.
Do not let admin falsely specify multithreading on QEMU
smp commandline.
Signed-off-by: Pierre Morel
---
hw/s390x/s390-virti
> > > > > >
> > > > > > OK fine. Lets figuire out how to push bits somewhere in
> > > > > > git.qemu.org and
> > > > > > the binaries in some other repo first. Everything else hinges on
> > > > > > that. We
> > > > > > can fix the rest of the bits later incrementally.
> > > > >
> > > > > DanPB, a
On 26/09/2022 21.50, Laurent Vivier wrote:
Signed-off-by: Laurent Vivier
---
tests/qtest/meson.build | 1 +
tests/qtest/netdev-socket.c | 391
2 files changed, 392 insertions(+)
create mode 100644 tests/qtest/netdev-socket.c
diff --git a/tests/qt
While the source directory is always included in the include path,
the corresponding directory in the build tree is not. Therefore,
custom_targets (e.g. ui/dbus-display1.h) must be referred to using
the full path.
This avoids a build failure when ui/dbus-chardev.c is not built as
a module:
In fi
Yes, I'm happy for p...@codesourcery.com to be linked to my current email for
attribution purposes.
Paul
On 26 September 2022 14:46:05 BST, "Alex Bennée" wrote:
>Do you want to map old commits to your canonical email now as well?
>
>Signed-off-by: Alex Bennée
>Cc: Paul Brook
>---
> contrib/gi
Vitaly Kuznetsov writes:
> KVM commit c68dc1b577ea ("KVM: x86: Report host tsc and realtime values in
> KVM_GET_CLOCK") broke migration of certain workloads, e.g. Win11 + WSL2
> guest reboots immediately after migration. KVM, however, is not to
> blame this time. When KVM_CAP_ADJUST_CLOCK capabil
1 - 100 of 423 matches
Mail list logo