Signed-off-by: Natanael Copa
---
util/cpuinfo-ppc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/cpuinfo-ppc.c b/util/cpuinfo-ppc.c
index 1ea3db0ac8..b2d8893a06 100644
--- a/util/cpuinfo-ppc.c
+++ b/util/cpuinfo-ppc.c
@@ -6,10 +6,10 @@
#include "qemu/os
ssues/2041
Buglink: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15541
Signed-off-by: Natanael Copa
---
target/riscv/kvm/kvm-cpu.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c
index
/4de8d61bcec02a13ceed84f92b0cf3ea58adf9c5
Signed-off-by: Natanael Copa
---
I have not really been able to test this, due to issues with building
the OVMF_CODE.fd from the qemu source tree. I do have tested building
OVMF_CODE.fd for the Alpine Linux package, and adding -D TPM2_ENABLE dis
solve the issue in windows guests
On Mon, 25 Feb 2019 13:06:16 +
Peter Maydell wrote:
> On Mon, 25 Feb 2019 at 12:22, Natanael Copa wrote:
> >
> > On Mon, 25 Feb 2019 10:34:23 +
> > Peter Maydell wrote:
> > > The short term fix is to fix your toolchain/compilation
> > > environ
On Mon, 25 Feb 2019 10:34:23 +
Peter Maydell wrote:
> On Mon, 25 Feb 2019 at 10:24, Natanael Copa wrote:
> >
> > On Sat, 23 Feb 2019 16:18:15 +
> > Peter Maydell wrote:
> >
> > > On Sat, 23 Feb 2019 at 16:05, Natanael Copa
> > > wrote:
On Sat, 23 Feb 2019 16:18:15 +
Peter Maydell wrote:
> On Sat, 23 Feb 2019 at 16:05, Natanael Copa wrote:
> > I was thinking of something in the lines of:
> >
> > typedef volatile uint16_t __attribute__((__may_alias__)) volatile_uint16_t;
> > static inline in
On Fri, 22 Feb 2019 14:04:20 +
Stefan Hajnoczi wrote:
> On Fri, Feb 22, 2019 at 12:57 PM Fernando Casas Schössow
> wrote:
>
> I have CCed Natanael Copa, qemu package maintainer in Alpine Linux.
>
> Fernando: Can you confirm that the bug occurs with an unmodified
> Alp
On Fri, 22 Feb 2019 14:04:20 +
Stefan Hajnoczi wrote:
> On Fri, Feb 22, 2019 at 12:57 PM Fernando Casas Schössow
> wrote:
>
> I have CCed Natanael Copa, qemu package maintainer in Alpine Linux.
Hi!
...
> Richard: Commit 7db2145a6826b14efceb8dd64bfe6ad8647072eb ("bswa
Use the standard uint64_t instead of internal __u64.
This fixes compiler error with musl libc on aarch64:
.../qemu-2.7.0/linux-user/host/aarch64/hostdep.h:28:5:
error: unknown type name '__u64'
__u64 *pcreg = &uc->uc_mcontext.pc;
^
Signed-off-by: Natanael Copa
---
-by: Natanael Copa
---
Changes v1 -> v2:
- replace NSIG with _NSIG since thats use everywhere else in the code.
- add runtime asserts.
linux-user/signal.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 5b8a01f..67771ad 100
On Wed, 4 Jun 2014 00:37:44 +0100
Peter Maydell wrote:
> On 29 April 2014 15:17, Natanael Copa wrote:
> > In addition to the previoiusly sent "linux-user: avoid using glibc
> > internals in _syscall5 and in definition of target_sigevent struct",
> > those are ne
On Tue, 29 Apr 2014 09:02:13 -0600
Eric Blake wrote:
> On 04/29/2014 08:53 AM, Natanael Copa wrote:
> > On Tue, 29 Apr 2014 08:28:29 -0600
> > Eric Blake wrote:
> >
> >> On 04/29/2014 08:17 AM, Natanael Copa wrote:
> >>> The __SIGRTMIN and __SIGRTMAX
On Tue, 29 Apr 2014 08:28:29 -0600
Eric Blake wrote:
> On 04/29/2014 08:17 AM, Natanael Copa wrote:
> > The __SIGRTMIN and __SIGRTMAX are glibc internals and are not available
> > on all platforms, so we define those if they are missing.
> >
> > This is needed for mus
The __SIGRTMIN and __SIGRTMAX are glibc internals and are not available
on all platforms, so we define those if they are missing.
This is needed for musl libc.
Signed-off-by: Natanael Copa
---
linux-user/signal.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/linux-user/signal.c b
h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.
Signed-off-by: Natanael Copa
---
hw/virtio/vhost.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 9e336ad..f62cfaf 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virt
See commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.
This is also needed for musl libc which does not implement ffsl.
Signed-off-by: Natanael Copa
---
include/exec/ram_addr.h | 2 +-
1 file changed, 1
ose should probably be defined in libc so patch for that is not
included here.
Natanael Copa (5):
util/qemu-openpty: fix build with musl libc by include termios.h as
fallback
xen: replace ffsl with ctzl
vhost: replace ffsl with ctzl
exec: replace ffsl with ctzl
linux-user/signal.c: define
ffsl is a GNU extension and not available in musl libc.
See also commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.
Signed-off-by: Natanael Copa
---
xen-all.c | 2 +-
1 file changed, 1 insertion(+), 1
tcsetattr(*aslave, TCSAFLUSH, &tty);
^
Signed-off-by: Natanael Copa
---
util/qemu-openpty.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/util/qemu-openpty.c b/util/qemu-openpty.c
index 4febfe9..4c53211 100644
--- a/util/qemu-openpty.c
+++ b/util/qemu-openpty.c
@@ -47,6 +47,8 @@
Use the public sigset_t instead of the glibc specific internal
__sigset_t in _syscall.
Calculate the sigevent pad size is calculated in similar way as kernel
does it instead of using glibc internal field _pad.
This is needed for building with musl libc.
Signed-off-by: Natanael Copa
---
Changes
On Wed, 23 Apr 2014 19:00:41 +0100
Peter Maydell wrote:
> On 23 April 2014 15:59, Natanael Copa wrote:
> > Avoid using glibc specific internals.
> >
> > Calculate the sigevent pad size is calculated in similar way as kernel
> > does it.
> >
> > Thi
Use the public sigset_t instead of the glibc specific internal
__sigset_t in _syscall.
Calculate the sigevent pad size is calculated in similar way as kernel
does it instead of using glibc internal field _pad.
This is needed for building with musl libc.
Signed-off-by: Natanael Copa
---
Changes
On Wed, 23 Apr 2014 19:00:41 +0100
Peter Maydell wrote:
> On 23 April 2014 15:59, Natanael Copa wrote:
> > Avoid using glibc specific internals.
> >
> > Calculate the sigevent pad size is calculated in similar way as kernel
> > does it.
> >
> > Thi
Avoid using glibc specific internals.
Calculate the sigevent pad size is calculated in similar way as kernel
does it.
This is needed for building with musl libc.
Signed-off-by: Natanael Copa
---
linux-user/syscall.c | 2 +-
linux-user/syscall_defs.h | 6 +-
2 files changed, 6
this
function in addition.
We also need check if -lm is needed for isnan().
Both -lm and -lrt are needed for libs_qga.
Signed-off-by: Natanael Copa
---
Changes v4->v5:
- Do not exit with error if librt fails.
Apparently, mingw32 does not use those functions at all so we
should not e
On Tue, 28 Aug 2012 17:16:18 +
Blue Swirl wrote:
> On Tue, Aug 28, 2012 at 7:33 AM, Natanael Copa
> wrote:
> > On Tue, 21 Aug 2012 18:12:05 +
> > Blue Swirl wrote:
> >>
> >> Now I get this on mingw32:
> >> config-host.mak is out-of-date, r
On Tue, 21 Aug 2012 18:12:05 +
Blue Swirl wrote:
>
> Now I get this on mingw32:
> config-host.mak is out-of-date, running configure
>
> Error: librt check failed
Any news on the v4 patch, which should fix this?
Thanks!
this
function in addition.
We also need check if -lm is needed for isnan().
Both -lm and -lrt are needed for libs_qga.
Signed-off-by: Natanael Copa
---
Changes v3->v4:
- Use $pthread_lib from previous pthread test
We don't need to add it to $LIBS since it should be there already
c
On Mon, 20 Aug 2012 19:53:22 +
Blue Swirl wrote:
> >> - Do not remove the explicit add of -lm unless Haiku. This was due
> >>to
> >> http://www.mail-archive.com/qemu-devel@nongnu.org/msg102965.html I
> >> am not sure if this is valid, though.
> >
> > Certainly building a linux-user targe
this
function in addition.
We also need check if -lm is needed for isnan().
Both -lm and -lrt are needed for libs_qga.
Signed-off-by: Natanael Copa
---
Changes v2->v3:
- Check if -lpthread is needed with static -lrt
configure | 37 -
1 file changed, 36 in
On Mon, Aug 20, 2012 at 3:27 PM, Peter Maydell wrote:
> On 16 August 2012 14:22, Natanael Copa wrote:
>> Fixes build against uClibc.
>>
>> uClibc provides 2 versions of clock_gettime(), one with realtime
>> support and one without (this is so you can avoid linking
this
function in addition.
We also need check if -lm is needed for isnan().
Both -lm and -lrt are needed for libs_qga.
Signed-off-by: Natanael Copa
---
The Xen people have nagged me to get this patch upstream so I have come
up with a rebased v2 patch after consulting with pm215 on IRC.
Please con
Hi,
The qemu-1.1.1 release tarball[1] has file extention .tar.bz2 while the
real file format is gzip.
$ file Downloads/qemu-1.1.1.tar.bz2
Downloads/qemu-1.1.1.tar.bz2: gzip compressed data, from Unix, last
modified: Thu Jul 12 21:52:36 2012
Would it be possible to add a tarball which has a fil
this
function in addition.
We also need check if -lm is needed for isnan().
Signed-off-by: Natanael Copa
---
Makefile|4 ++--
Makefile.target |4 +---
configure | 33 +++--
3 files changed, 34 insertions(+), 7 deletions(-)
diff --git a/Makef
34 matches
Mail list logo