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
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 45b6cf1cfa
/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
> > > envi
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
> > >
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_mcontext.pc;
^
Signed-off-by: Natanael Copa <nc...@alpinelin
-by: Natanael Copa nc...@alpinelinux.org
---
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
On Wed, 4 Jun 2014 00:37:44 +0100
Peter Maydell peter.mayd...@linaro.org wrote:
On 29 April 2014 15:17, Natanael Copa nc...@alpinelinux.org wrote:
In addition to the previoiusly sent linux-user: avoid using glibc
internals in _syscall5 and in definition of target_sigevent struct,
those
On Wed, 23 Apr 2014 19:00:41 +0100
Peter Maydell peter.mayd...@linaro.org wrote:
On 23 April 2014 15:59, Natanael Copa nc...@alpinelinux.org wrote:
Avoid using glibc specific internals.
Calculate the sigevent pad size is calculated in similar way as kernel
does it.
This is needed
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 nc
On Wed, 23 Apr 2014 19:00:41 +0100
Peter Maydell peter.mayd...@linaro.org wrote:
On 23 April 2014 15:59, Natanael Copa nc...@alpinelinux.org wrote:
Avoid using glibc specific internals.
Calculate the sigevent pad size is calculated in similar way as kernel
does it.
This is needed
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 nc
);
^
Signed-off-by: Natanael Copa nc...@alpinelinux.org
---
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 @@
#elif defined CONFIG_SOLARIS
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 __SIGRTMIN/MAX
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 nc...@alpinelinux.org
---
xen-all.c | 2 +-
1 file changed, 1
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 nc...@alpinelinux.org
---
include/exec/ram_addr.h | 2 +-
1
it bitops_ctzl) on why ctzl should be used instead
of ffsl.
Signed-off-by: Natanael Copa nc...@alpinelinux.org
---
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
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 nc...@alpinelinux.org
---
linux-user/signal.c | 7 +++
1 file changed, 7 insertions(+)
diff --git
On Tue, 29 Apr 2014 08:28:29 -0600
Eric Blake ebl...@redhat.com 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 musl libc.
Signed
On Tue, 29 Apr 2014 09:02:13 -0600
Eric Blake ebl...@redhat.com wrote:
On 04/29/2014 08:53 AM, Natanael Copa wrote:
On Tue, 29 Apr 2014 08:28:29 -0600
Eric Blake ebl...@redhat.com wrote:
On 04/29/2014 08:17 AM, Natanael Copa wrote:
The __SIGRTMIN and __SIGRTMAX are glibc internals
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 nc...@alpinelinux.org
---
linux-user/syscall.c | 2 +-
linux-user/syscall_defs.h | 6 +-
2
for 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 nc...@alpinelinux.org
---
Changes v4-v5:
- Do not exit with error if librt fails.
Apparently, mingw32 does not use those functions at all so we
On Tue, 28 Aug 2012 17:16:18 +
Blue Swirl blauwir...@gmail.com wrote:
On Tue, Aug 28, 2012 at 7:33 AM, Natanael Copa
nc...@alpinelinux.org wrote:
On Tue, 21 Aug 2012 18:12:05 +
Blue Swirl blauwir...@gmail.com wrote:
Now I get this on mingw32:
config-host.mak is out-of-date
On Tue, 21 Aug 2012 18:12:05 +
Blue Swirl blauwir...@gmail.com 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!
for 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 nc...@alpinelinux.org
---
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
On Mon, 20 Aug 2012 19:53:22 +
Blue Swirl blauwir...@gmail.com 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
On Mon, Aug 20, 2012 at 3:27 PM, Peter Maydell peter.mayd...@linaro.org wrote:
On 16 August 2012 14:22, Natanael Copa natanael.c...@gmail.com 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
for 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 nc...@alpinelinux.org
---
Changes v2-v3:
- Check if -lpthread is needed with static -lrt
configure | 37 -
1 file
for 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 nc...@alpinelinux.org
---
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
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
for this
function in addition.
We also need check if -lm is needed for isnan().
Signed-off-by: Natanael Copa nc...@alpinelinux.org
---
Makefile|4 ++--
Makefile.target |4 +---
configure | 33 +++--
3 files changed, 34 insertions(+), 7 deletions(-)
diff
34 matches
Mail list logo