On 1/6/22 17:41, Song Gao wrote:
This patch adds main translation routines and
basic functions for translation.
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
---
target/loongarch/helper.h| 6 ++
target/loongarch/op_helper.c | 21 +
target/lo
On 1/6/22 17:41, Song Gao wrote:
This patch adds target state header, target definitions
and initialization routines.
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
---
target/loongarch/cpu-param.h | 18 ++
target/loo
On 1/6/22 17:41, Song Gao wrote:
This patch adds support for disassembling via option '-d in_asm'.
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
---
include/disas/dis-asm.h | 2 +
meson.build | 1 +
target/loongarch/disas.c | 612
On 1/6/22 17:42, Song Gao wrote:
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
---
scripts/qemu-binfmt-conf.sh | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
index 7de996
On 1/6/22 17:41, Song Gao wrote:
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
---
linux-user/elfload.c| 53 +
linux-user/loongarch64/target_elf.h | 12 +++
2 files chan
On 1/6/22 17:41, Song Gao wrote:
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
---
configure | 3 +
linux-user/loongarch64/cpu_loop.c | 94 +
linux-user/loongarch64/target_cpu.h | 34 +++
On 1/6/22 17:41, Song Gao wrote:
This patch gives an introduction to the LoongArch target.
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
---
MAINTAINERS | 5 +++
target/loongarch/README | 77 +
2 fil
On 1/6/22 17:41, Song Gao wrote:
This patch adds loongarch64 linux-user default configs file.
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
---
configs/targets/loongarch64-linux-user.mak | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 conf
On 1/8/22 17:14, Xiaojuan Yang wrote:
1.This patch Add loongarch interrupt and exception handle.
2.Rename the user excp to the exccode from the csr defintions.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
linux-user/loongarch64/cpu_loop.c | 8 +-
target/loongarch/c
On 1/6/22 17:41, Song Gao wrote:
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
---
linux-user/loongarch64/signal.c| 198 +
linux-user/loongarch64/target_signal.h | 13 ++
2 files changed, 211 insertions(+)
create mode 100644 linux-user/loongarch64/s
On 1/8/22 17:13, Xiaojuan Yang wrote:
Mainly introduce how to run the softmmu
This sentence serves little purpose and is broken English, so it is
better removed.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/README | 25 +
1 file changed,
On 1/6/22 17:41, Song Gao wrote:
We should disable '__BITS_PER_LONG' at [1] before run gensyscalls.sh
[1] arch/loongarch/include/uapi/asm/bitsperlong.h
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
---
linux-user/lo
On 1/6/22 17:41, Song Gao wrote:
This patch adds build loongarch-linux-user target support.
Chinglish... You may just say "target: Add the loongarch target_arch"
and remove this sentence.
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
Reviewed-by: Phil
On 1/8/22 17:14, Xiaojuan Yang wrote:
This includes:
-RDTIME{L/H}.W
-RDTIME.D
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 1 +
target/loongarch/insn_trans/trans_extra.c.inc | 32 +++
target/loongarch/op_helper.c
On 1/6/22 17:41, Song Gao wrote:
Signed-off-by: Song Gao
Signed-off-by: Xiaojuan Yang
Reviewed-by: Richard Henderson
Acked-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
---
tests/tcg/configure.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/tcg/configure.sh b/tests/tcg/con
On 1/8/22 17:13, Xiaojuan Yang wrote:
This includes:
-CACOP
-LDDIR
-LDPTE
-ERTN
-DBCL
-IDLE
Okay, now I got that the word "core" actually meant "privileged"... so
please adjust all occurrences of that word.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/cpu.h
On 1/8/22 17:13, Xiaojuan Yang wrote:
1.Define All the CSR registers and its field.
2.Set some default csr values.
Unnecessary explanation; the code addition itself should be obvious
enough as to its intention.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/cpu-cs
On 1/8/22 17:13, Xiaojuan Yang wrote:
This patch introduces basic TLB interfaces.
Same comment regarding commit messages adding little information.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/cpu-param.h | 2 +-
target/loongarch/cpu.c| 32
ta
On 1/8/22 17:13, Xiaojuan Yang wrote:
This includes:
- CSRRD
- CSRWR
- CSRXCHG
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/cpu.h | 88 +
target/loongarch/csr_helper.c| 112 +
target/loongarch/d
On 1/8/22 17:13, Xiaojuan Yang wrote:
This patch introduce qmp_query_cpu_definitions interface.
"implments"; however the whole sentence becomes nearly identical to the
title, so it's better to remove this sentence after all.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
Reviewed-by
On 1/8/22 17:13, Xiaojuan Yang wrote:
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/constant_timer.c | 63 +++
target/loongarch/cpu.c| 9 +
target/loongarch/cpu.h| 10 +
target/loongarch/meson.build
On 1/8/22 17:14, Xiaojuan Yang wrote:
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
configs/targets/loongarch64-softmmu.mak | 1 +
gdb-xml/loongarch-base64.xml| 43 +++
gdb-xml/loongarch-fpu64.xml | 57 +++
target/loongarch/cpu.c
On 1/8/22 17:13, Xiaojuan Yang wrote:
This includes:
- TLBSRCH
- TLBRD
- TLBWR
- TLBFILL
- TLBCLR
- TLBFLUSH
- INVTLB
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/disas.c | 17 +
target/loongarch/helper.h| 12 +
target/
On 1/8/22 17:13, Xiaojuan Yang wrote:
This patch introduce vmstate_loongarch_cpu
Again, pointless commit message.
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/cpu.c | 3 ++
target/loongarch/internals.h | 4 ++
target/loon
Hi Xiaojuan,
I've just finished reviewing the first part (target modifications) as
I'm not familiar with QEMU device emulation. You may have to revise the
target part carefully, and re-organize at the series level to accelerate
upstreaming though, as Richard pointed out in the other patch seri
On 1/8/22 17:13, Xiaojuan Yang wrote:
This includes:
- IOCSR{RD/WR}.{B/H/W/D}
Signed-off-by: Xiaojuan Yang
Signed-off-by: Song Gao
---
target/loongarch/cpu.c | 8 ++
target/loongarch/cpu.h | 4 +
target/loongarch/disas.c |
ll-request
for you to fetch changes up to 31144eb6393b66b06a13e8a6ad0e730f9e82d4c6:
target/m68k: don't word align SP in stack frame if
M68K_FEATURE_UNALIGNED_DATA feature enabled (2022-01-09 12:05:02 +0100)
M68k pull reques
From: Mark Cave-Ayland
The macfb VRAM memory region was configured with coalescing rather than dirty
memory logging enabled, causing some areas of the screen not to redraw after
a full screen update.
Signed-off-by: Mark Cave-Ayland
Fixes: 8ac919a065 ("hw/m68k: add Nubus macfb video card")
Revie
Signed-off-by: Laurent Vivier
Reviewed-by: Thomas Huth
Reviewed-by: Cornelia Huck
Message-Id: <20211218114340.1856757-1-laur...@vivier.eu>
---
hw/m68k/virt.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/hw/m68k/virt.c b/hw/m68k/virt.c
index 0efa4a45c7f4..78e926a55
From: Mark Cave-Ayland
Commit a9431a03f7 ("target/m68k: add M68K_FEATURE_UNALIGNED_DATA feature") added
a new feature for processors from the 68020 onwards which do not require data
accesses to be word aligned.
Unfortunately the original commit missed an additional case whereby the SP is
still w
"qemu-system-m68k -M q800 -bios /dev/null" crashes with a segfault
in q800_init().
This happens because the code doesn't check that rom_ptr() returned
a non-NULL pointer .
To avoid NULL pointer, don't allow 0 sized file and use bios_size with
rom_ptr().
Resolves: https://gitlab.com/qemu-project/q
On 08.01.22 01:34, Michael S. Tsirkin wrote:
> On Fri, Jan 07, 2022 at 11:38:21AM -0800, Richard Henderson wrote:
>> On 1/7/22 3:03 AM, Michael S. Tsirkin wrote:
>>> Changes from v1:
>>> - mingw build fixes
>>> - added TPM patches which got acks meanwhile
>>>
>>> Big changes that were tagged origin
Hello Cindy,
On 1/8/22 02:04, Michael S. Tsirkin wrote:
From: Cindy Lu
Add support for configure interrupt, The process is used kvm_irqfd_assign
to set the gsi to kernel. When the configure notifier was signal by
host, qemu will inject a msix interrupt to guest
Signed-off-by: Cindy Lu
Messag
On Donnerstag, 6. Januar 2022 10:21:47 CET Volker Rümelin wrote:
> This patch series reduces the playback latency for audio backends,
> in some cases significantly. For PulseAudio, the audio buffer is
> also moved from the QEMU side to the PulseAudio server side. This
> improves the drop-out safety
The current workflow fails to provide a comment explaining why
it has closed a PR. This is not friendly.
Also, while it's perfectly reasonable to close PRs to the qemu
organization, it's a bit much to close them in forks.
These patches address both of these issues.
Josh Soref (2):
Fix lockdown
Signed-off-by: Josh Soref
---
.github/workflows/lockdown.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
index ad8b8f7..37c6065 100644
--- a/.github/workflows/lockdown.yml
+++ b/.github/workflows/lockdown.yml
Signed-off-by: Josh Soref
---
.github/workflows/lockdown.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
index 37c6065..b924b25 100644
--- a/.github/workflows/lockdown.yml
+++ b/.github/workflows/lockdown.yml
@@ -12,6 +12,7 @
On 1/9/22 07:17, Josh Soref wrote:
> Signed-off-by: Josh Soref
> ---
> .github/workflows/lockdown.yml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
> index 37c6065..b924b25 100644
> --- a/.github/workflows/lockdown.yml
>
On Sun, Jan 09, 2022 at 02:33:43PM +0100, Cédric Le Goater wrote:
> Hello Cindy,
>
> On 1/8/22 02:04, Michael S. Tsirkin wrote:
> > From: Cindy Lu
> >
> > Add support for configure interrupt, The process is used kvm_irqfd_assign
> > to set the gsi to kernel. When the configure notifier was signa
On Sun, Jan 09, 2022 at 07:17:30AM +0100, Volker Rümelin wrote:
> Hi,
>
> > From: Cindy Lu
> >
> > Add support for configure interrupt, The process is used kvm_irqfd_assign
> > to set the gsi to kernel. When the configure notifier was signal by
> > host, qemu will inject a msix interrupt to gues
Upstream the bsd-user fork signal implementation, for the most part. This
series of commits represents nearly all of the infrastructure that surround
signals, except the actual system call glue (that was also reworked in the
fork and needs its own series). In addition, this adds the sigsegv and si
Move the EXCP_ATOMIC case to match linux-user/arm/cpu_loop.c:cpu_loop
ordering.
Signed-off-by: Warner Losh
---
bsd-user/arm/target_arch_cpu.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h
index c675419c30
Start to implement the force_sig_fault code. This currently just calls
queue_signal(). The bsd-user fork version of that will handle this the
synchronous nature of this call. Add signal-common.h to hold signal
helper functions like force_sig_fault.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Ev
First attempt at implementing cpu_loop_exit_sigsegv, mostly copied from
linux-user version of this function.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a
The code has moved in FreeBSD since the emulator was started, update the
comment to reflect that change. Remove now-redundant comment saying the
same thing (but incorrectly).
Signed-off-by: Warner Losh
---
bsd-user/arm/target_arch_cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
First attempt at implementing cpu_loop_exit_sigbus, mostly copied from
linux-user version of this function.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/bsd-
Use force_sig_fault to implement unknown opcode. This just uninlines
that function, so simplify things by using it. Fold in EXCP_NOCP and
EXCP_INVSTATE, as is done in linux-user.
Signed-off-by: Warner Losh
---
bsd-user/arm/target_arch_cpu.h | 18 ++
1 file changed, 6 insertions(+
Implement EXCP_DEBUG and EXCP_BKPT the same, as is done in
linux-user. The prior adjustment of register 15 isn't needed, so remove
that. Remove a redunant comment (that code in FreeBSD never handled
break points).
Signed-off-by: Warner Losh
---
bsd-user/arm/target_arch_cpu.h | 23 +++
Implement host_to_target_signal and target_to_host_signal.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 2 ++
bsd-user/signal.c | 11 +++
2 files changed, 13 insertions(+)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index 1
Implement host_signal_pc, host_signal_set_pc and host_signal_write for
i386.
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/host/i386/host-signal.h | 37
1 file changed, 37 insertions(+)
create mode 100644 bsd-user/host/i386/host-signal.h
di
Update for the richer set of data faults that are now possible. Copied
largely from linux-user/arm/cpu_loop.c
Signed-off-by: Warner Losh
---
bsd-user/arm/target_arch_cpu.h | 44 ++
1 file changed, 34 insertions(+), 10 deletions(-)
diff --git a/bsd-user/arm/target
Initialize the signal state for the emulator. Setup a set of sane
default signal handlers, mirroring the host's signals. For fatal signals
(those that exit by default), establish our own set of signal
handlers. Stub out the actual signal handler we use for the moment.
Signed-off-by: Stacey Son
Si
Implement the meat of the sigaction(2) system call with do_sigaction and
helper routiner block_signals (which is also used to implemement signal
masking so it's global).
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 21 +
bsd
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 2 ++
bsd-user/signal.c | 12
2 files changed, 14 insertions(+)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index 0e0b8db708b..e5e97632c82 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -454,4 +
Implement host_signal_pc, host_signal_set_pc and host_signal_write for
arm.
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/host/arm/host-signal.h | 39 +
1 file changed, 39 insertions(+)
create mode 100644 bsd-user/host/arm/host-signal.h
diff
Start to add the host signal functionality to the build.
Signed-off-by: Warner Losh
---
bsd-user/meson.build | 1 +
bsd-user/signal.c| 1 +
meson.build | 1 +
3 files changed, 3 insertions(+)
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 9fcb80c3fa8..a768e65d35e 10
setup_frame sets up a signalled stack frame. Associated routines to
extract the pointer to the stack frame and to support alternate stacks.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 166 --
Add the bsd-user specific events and infrastructure. Only include the
linux-user trace events for linux-user, not bsd-user.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 1 +
bsd-user/trace-events | 11 +++
bsd-user/trace.h
Implement host_signal_pc, host_signal_set_pc and host_signal_write for
x86_64.
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/host/x86_64/host-signal.h | 37 ++
1 file changed, 37 insertions(+)
create mode 100644 bsd-user/host/x86_64/host-signal.h
Implement host_signal_handler to handle signals generated by the host
and to do safe system calls.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 105 ++
1 file changed, 105 insertions(+)
diff
Implement conversion of host to target siginfo.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index 7168d851be
Force delivering a signal and generating a core file.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 1 +
bsd-user/signal.c | 59 +
bsd-user/syscall_defs.h | 1 +
3 files changed, 61 i
print_taken_signal() prints signals when we're tracing signals.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 10 +
bsd-user/strace.c | 97 +++
2 files changed, 107 insertions(+)
diff --gi
Returns 1 for signals that cause core files.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index a6e07277fb2..824535be8b8 100644
-
Handle a queued signal.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 2 +
bsd-user/signal.c | 96 +++
2 files changed, 98 insertions(+)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index e
Fill in queue signal implementation, as well as routines allocate and
delete elements of the signal queue.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 72 ++-
1 file changed, 71 insertions(+)
target_sigemptyset: resets a set to having no bits set
qemu_sigorset: computes the or of two sets
target_sigaddset: adds a signal to a set
target_sigismember: returns true when signal is a member
host_to_target_sigset_internal: convert host sigset to target
host_to_target_sigset: convert hos
Convert siginfo from targer to host.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index 934528d5fb0..c954d0f4f37
Process the currently queued signals.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index c954d0f4f37..1dd6dbb4ee
Implements the meat of a sigreturn(2) system call via do_sigreturn, and
helper reset_signal_mask. Fix the prototype of do_sigreturn in qemu.h
and remove do_rt_sigreturn since it's linux only.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h |
Implement the meat of the sigaltstack(2) system call with do_sigaltstack.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/qemu.h | 1 +
bsd-user/signal.c | 66 +++
2 files changed, 67 insertions(+)
diff
Add support for macOS 12 build on Cirrus-CI, similarly to commit
0e103a65ba1 ("gitlab: support for ... macOS 11 via cirrus-run").
Disable deprecation warnings on Objective C to avoid:
[2789/6622] Compiling Objective-C object libcommon.fa.p/ui_cocoa.m.o
ui/cocoa.m:1411:16: error: 'setAllowedFi
When building on macOS 12, we get:
In file included from ../target/i386/hvf/hvf.c:59:
../target/i386/hvf/vmx.h:174:5: error: 'hv_vcpu_flush' is deprecated: first
deprecated in macOS 11.0 - This API has no effect and always returns
HV_UNSUPPORTED [-Werror,-Wdeprecated-declarations]
hv_v
We can pass C/CPP/LD flags via CFLAGS/CXXFLAGS/LDFLAGS environment
variables, or via configure --extra-cflags / --extra-cxxflags /
--extra-ldflags options. Provide similar behavior for Objective C:
use existing flags from $OBJCFLAGS, or passed via --extra-objcflags.
Signed-off-by: Philippe Mathieu
When building on macOS 12 we get:
audio/coreaudio.c:50:5: error: 'kAudioObjectPropertyElementMaster' is
deprecated: first deprecated in macOS 12.0 [-Werror,-Wdeprecated-declarations]
kAudioObjectPropertyElementMaster
^
kAudioObjectPropertyElemen
When building on macOS 12 we get:
block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first
deprecated in macOS 12.0 [-Wdeprecated-declarations]
kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort );
^~~~
IOMainPort
Use IOMa
On Donnerstag, 6. Januar 2022 10:21:47 CET Volker Rümelin wrote:
This patch series reduces the playback latency for audio backends,
in some cases significantly. For PulseAudio, the audio buffer is
also moved from the QEMU side to the PulseAudio server side. This
improves the drop-out safety for P
On Fri, Nov 05, 2021 at 12:48:17AM +0800, Cindy Lu wrote:
> these patches add the support for configure interrupt
>
> These codes are all tested in vp-vdpa (support configure interrupt)
> vdpa_sim (not support configure interrupt), virtio tap device
>
> test in virtio-pci bus and virtio-mmio bus
Few patches to be able to build QEMU on macOS 12 (Monterey).
This basically consists of adapting deprecated APIs. I am not
sure about these APIs, so tagging as RFC.
I couldn't succeed to adapt the Cocoa code.
CI job added to avoid bitrotting (ignoring the Objective C
deprecation warning).
Phili
Both hvf_get_segments/hvf_put_segments() functions are only
used within x86hvf.c: do not declare them as public API.
Signed-off-by: Philippe Mathieu-Daudé
---
target/i386/hvf/x86hvf.h | 2 --
target/i386/hvf/x86hvf.c | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/target
Fixes a couple of issues with irqfd use by config interrupt:
- Rearrange initialization so cleanup happens in the reverse order
- Don't use irqfd for config when not in use for data path
I am not sure this is a complete fix though: I think we
are better off limiting the effect to vdpa devices
with
Am 09.01.22 um 17:11 schrieb Michael S. Tsirkin:
On Sun, Jan 09, 2022 at 07:17:30AM +0100, Volker Rümelin wrote:
Hi,
From: Cindy Lu
Add support for configure interrupt, The process is used kvm_irqfd_assign
to set the gsi to kernel. When the configure notifier was signal by
host, qemu will in
On Fri, Nov 05, 2021 at 12:48:17AM +0800, Cindy Lu wrote:
> these patches add the support for configure interrupt
>
> These codes are all tested in vp-vdpa (support configure interrupt)
> vdpa_sim (not support configure interrupt), virtio tap device
>
> test in virtio-pci bus and virtio-mmio bus
On Sun, Jan 09, 2022 at 06:52:28PM +0100, Volker Rümelin wrote:
> Am 09.01.22 um 17:11 schrieb Michael S. Tsirkin:
> > On Sun, Jan 09, 2022 at 07:17:30AM +0100, Volker Rümelin wrote:
> > > Hi,
> > >
> > > > From: Cindy Lu
> > > >
> > > > Add support for configure interrupt, The process is used
On 1/9/22 1:25 AM, WANG Xuerui wrote:
+#define TARGET_PAGE_BITS 14
Aren't we capable of page sizes up to 64KiB? Minimal feasible page size is indeed 16KiB
though (due to cache aliasing, although 4KiB pages are supported in hardware, they don't
work in practice).
You must use the minimal page
On 1/9/22 1:25 AM, WANG Xuerui wrote:
+static inline int shl_2(DisasContext *ctx, int x)
+{
+ return x * 4;
Although "<< 2" has the same effect as "* 4" here, isn't "<< 2" better in matching the
function name?
Yes, good point.
r~
Am 09.01.22 um 19:01 schrieb Michael S. Tsirkin:
On Sun, Jan 09, 2022 at 06:52:28PM +0100, Volker Rümelin wrote:
Am 09.01.22 um 17:11 schrieb Michael S. Tsirkin:
On Sun, Jan 09, 2022 at 07:17:30AM +0100, Volker Rümelin wrote:
Hi,
From: Cindy Lu
Add support for configure interrupt, The proc
Am 09.01.22 um 19:54 schrieb Volker Rümelin:
Am 09.01.22 um 19:01 schrieb Michael S. Tsirkin:
On Sun, Jan 09, 2022 at 06:52:28PM +0100, Volker Rümelin wrote:
Am 09.01.22 um 17:11 schrieb Michael S. Tsirkin:
On Sun, Jan 09, 2022 at 07:17:30AM +0100, Volker Rümelin wrote:
Hi,
From: Cindy Lu
On Thu, 6 Jan 2022 at 18:09, Peter Maydell wrote:
> On Wed, 29 Dec 2021 at 20:15, Mark Watson wrote:
> > I'm seeing a repeatable alignment exception running m68k system mode on
> armv7l (arm cortex a9) following this commit:
> > "fa947a667fceab02f9f85fc99f54aebcc9ae6b51 is the first bad commit
>
This adds support for the XVentanaCondOps custom extension
(vendor-defined by Ventana Micro Systems), which is documented at
https://github.com/ventanamicro/ventana-custom-extensions/releases/download/v1.0.0/ventana-custom-extensions-v1.0.0.pdf
Given that the CUSTOM-3 opcode space is shared betwee
This adds the possibility to specify a predicate-function that is
called as part of decoding in multi-patterns; it is intended for
use-cases (such as vendor-defined instructions in RISC-V) where the
same bitpattern may decode into different functions depending on the
overall configuration of the em
Compiling with gcc version 11.2.0 (Ubuntu 11.2.0-13ubuntu1) results in
a (spurious) warning:
In function ‘dump_receive_iov’,
inlined from ‘filter_dump_receive_iov’ at ../net/dump.c:157:5:
../net/dump.c:89:9: error: ‘writev’ specified size 18446744073709551600
exceeds maximum object size
On Fri, Jan 7, 2022 at 7:02 AM Frédéric Pétrot
wrote:
>
> This series of patches provides partial 128-bit support for the riscv
> target architecture, namely RVI and RVM, with minimal csr support.
>
> Thanks for the reviews and advices.
>
> v8:
> - rebase on riscv-to-apply.next
>
> v7:
> - code mo
On Fri, Jan 7, 2022 at 6:46 AM Philippe Mathieu-Daudé wrote:
>
> On 7/1/22 01:48, Atish Patra wrote:
> > Qemu virt machine can support few cache events and cycle/instret counters.
> > It also supports counter overflow for these events.
> >
> > Add a DT node so that OpenSBI/Linux kernel is aware of
> -Original Message-
> From: Anup Patel [mailto:a...@brainfault.org]
> Sent: Thursday, December 23, 2021 2:04 PM
> To: Jiangyifei
> Cc: QEMU Developers ; open list:RISC-V
> ; kvm-ri...@lists.infradead.org; KVM General
> ; libvir-l...@redhat.com; Anup Patel
> ; Palmer Dabbelt ; Alistair
>
> -Original Message-
> From: Alistair Francis [mailto:alistai...@gmail.com]
> Sent: Thursday, January 6, 2022 6:04 AM
> To: Jiangyifei
> Cc: qemu-devel@nongnu.org Developers ; open
> list:RISC-V ; kvm-ri...@lists.infradead.org; open
> list:Overall ; libvir-l...@redhat.com; Anup Patel
> ;
Get GPR CSR and FP registers from kvm by KVM_GET_ONE_REG ioctl.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
Reviewed-by: Anup Patel
---
target/riscv/kvm.c | 112 -
1 file changed, 111 insertions(+), 1 deletion
This series adds both riscv32 and riscv64 kvm support, and implements
migration based on riscv.
Because of RISC-V KVM has been merged into the Linux master, so this
series are changed from RFC to patch.
Several steps to use this:
1. Build emulation
$ ./configure --target-list=riscv64-softmmu
$ ma
Get isa info from kvm while kvm init.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
Reviewed-by: Anup Patel
---
target/riscv/kvm.c | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/target/riscv/kvm.c b/ta
Add asm-riscv/kvm.h for RISC-V KVM.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Acked-by: Alistair Francis
Reviewed-by: Anup Patel
---
linux-headers/asm-riscv/kvm.h | 128 ++
1 file changed, 128 insertions(+)
create mode 100644 linux-headers/asm-risc
1 - 100 of 172 matches
Mail list logo