Public bug reported:
Currently ppc and ppc64abi32 doesn't suppport for mttcg, I am looking for
support
```
ppc)
gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
;;
ppc64)
TARGET_BASE_ARCH=ppc
TARGET_ABI_DIR=ppc
mttcg=yes
```.
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
I also face this problem, any idea to resolve.
I am using qemeu 4.2 + whpx support but failed to install
./qemu-system-x86_64 -m 4096 \
-vga vmware \
-machine q35 \
-accel whpx \
-usb -device usb-kbd \
-device usb-mouse -device usb-audio -boot c \
-netdev
I enabled it and working, but I don't know if there any other issue are
still not resolved..
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
Public bug reported:
I am using powerpc-none-eabi-gdb with qemu 4.2, but it comes with
the following error:
undefinedC:\CI-Tools\msys64\powerpc-none-eabi\usr\local\bin\powerpc-
none-eabi-gdb.exe: warning: Couldn't determine a path for the index
cache directory.
```Not implemented stop reason
00 20 blr
The QEMU are getting stuck and can not running the following instructions,
What I need to do to inspect which instruction are getting stuck and how to
fix it?
Any means to debugging that.
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
8_sqrt(xb->f128, );
> env->fp_status.float_exception_flags |= tstat.float_exception_flags;
>
> @@ -3449,7 +3449,7 @@ void helper_xssubqp(CPUPPCState *env, uint32_t
> opcode,
> tstat.float_rounding_mode = float_round_to_odd;
> }
>
> - set_float_exception_flags(0, );
> +set_float_exception_flags(env->default_fp_excpt_flags, );
> t.f128 = float128_sub(xa->f128, xb->f128, );
> env->fp_status.float_exception_flags |= tstat.float_exception_flags;
>
> diff --git a/target/ppc/translate_init.inc.c
> b/target/ppc/translate_init.inc.c
> index 53995f62ea..ab1a6db4f1 100644
> --- a/target/ppc/translate_init.inc.c
> +++ b/target/ppc/translate_init.inc.c
> @@ -10736,6 +10736,8 @@ static void ppc_cpu_reset(CPUState *s)
> /* tininess for underflow is detected before rounding */
> set_float_detect_tininess(float_tininess_before_rounding,
>>fp_status);
> +/* hardfloat needs inexact flag already set */
> +env->default_fp_excpt_flags = (cpu->hardfloat ? float_flag_inexact :
> 0);
>
> for (i = 0; i < ARRAY_SIZE(env->spr_cb); i++) {
> ppc_spr_t *spr = >spr_cb[i];
> @@ -10868,6 +10870,7 @@ static Property ppc_cpu_properties[] = {
> false),
> DEFINE_PROP_BOOL("pre-3.0-migration", PowerPCCPU, pre_3_0_migration,
> false),
> +DEFINE_PROP_BOOL("hardfloat", PowerPCCPU, hardfloat, true),
> DEFINE_PROP_END_OF_LIST(),
> };
>
> --
> 2.21.1
>
>
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Tue, Apr 28, 2020 at 4:36 PM Alex Bennée wrote:
>
> 罗勇刚(Yonggang Luo) writes:
>
> > I am confusing why only inexact are set then we can use hard-float.
>
> The inexact behaviour of the host hardware may be different from the
> guest architecture we are trying
cpu
goes to sleep mode and will not advance if no timer is enabled. This
behavior give deterministic execution times from the guest point of view.
I wanna to know what's the meaning when sleep=on, and what's the meaning
when sleep=off
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
writes:
>
> > On Mon, 27 Apr 2020, Alex Bennée wrote:
> >> 罗勇刚(Yonggang Luo) writes:
> >>> Because ppc fpu-helper are always clearing float_flag_inexact,
> >>> So is that possible to optimize the performance when
> float_flag_inexact
> >>> are clea
On Thu, Apr 23, 2020 at 11:03 PM Jag Raman wrote:
>
>
> > On Apr 23, 2020, at 9:54 AM, 罗勇刚(Yonggang Luo)
> wrote:
> >
> > Does multi-process support on Windows?
> > I found it use mmap and unix socket for inter-process communication,
> that may not support un
1,threads=1',
> \
> + '-m', '2048',
> \
> + '-object', 'memory-backend-memfd,id=sysmem-file,size=2G',
> \
> + '-numa', 'node,memdev=sysmem-file',
> \
> + '-device', 'virtio-scsi-pci,id=virtio_scsi_pci0',
> \
> + '-drive', 'id=drive_image1,if=none,format=qcow2,'
> \
> +'file=/home/ol7-hdd-1.qcow2',
> \
> + '-device', 'scsi-hd,id=image1,drive=drive_image1,'
> \
> + 'bus=virtio_scsi_pci0.0',
> \
> + '-boot', 'd',
> \
> + '-vnc', ':0',
> \
> + '-device',
> 'pci-proxy-dev,id=lsi1,socket='+str(proxy.fileno()), \
> + '-device',
> 'pci-proxy-dev,id=lsi2,socket='+str(proxy.fileno()) \
> +]
> +
> +
> +pid = os.fork();
> +
> +if pid:
> +# In Proxy
> +print('Launching QEMU with Proxy object');
> +process = subprocess.Popen(proxy_cmd, pass_fds=[proxy.fileno()])
> +else:
> +# In remote
> +print('Launching Remote process');
> +process = subprocess.Popen(remote_cmd, pass_fds=[remote.fileno()])
> --
> 2.25.GIT
>
>
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
od idea.
>
> > -Messaggio originale-
> > Da: BALATON Zoltan
> > Inviato: giovedì 30 aprile 2020 17:36
> > A: 罗勇刚(Yonggang Luo)
> > Cc: Richard Henderson ; Dino Papararo <
> skizzat...@msn.com>; qemu-devel@nongnu.org; Programmingkid <
> programmin
path when we know we are using normal numbers.
>
> >
> > A little of documentation here:
> http://mirror.informatimago.com/next/developer.apple.com/documentation/mac/PPCNumerics/PPCNumerics-154.html
> >
> > Regards,
> > Dino Papararo
> >
> > -Messaggio originale
On Fri, May 1, 2020 at 7:58 PM BALATON Zoltan wrote:
> On Fri, 1 May 2020, 罗勇刚(Yonggang Luo) wrote:
> > That's what I suggested,
> > We preserve a float computing cache
> > typedef struct FpRecord {
> > uint8_t op;
> > float32 A;
> > float32 B;
>
us can not represent all the Invalid Operation Exception flags.
What I need to do to represent all the Invalid Operation Exception
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
>From b4d6ca1d6376fab1f1be06eb472e10b908887c2b Mon Sep 17 00:00:00 2001
From: Yonggang Luo
Date: Sat, 2 May 2020 05:59:25 +0800
Subject: [PATCH] [ppc fp] Step 1. Rearrange the fp helpers to eliminate
helper_reset_fpstatus(). I've mentioned this before, that it's possible to
leave the ste
On Sat, May 2, 2020 at 12:51 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 5/1/20 9:29 AM, 罗勇刚(Yonggang Luo) wrote:
> > On Fri, May 1, 2020 at 10:18 PM Richard Henderson <
> richard.hender...@linaro.org
> > Step 1 is to rearrange
Hello Richard, Can you have a look at the following patch, and was that are
the right direction?
>From b4d6ca1d6376fab1f1be06eb472e10b908887c2b Mon Sep 17 00:00:00 2001
From: Yonggang Luo
Date: Sat, 2 May 2020 05:59:25 +0800
Subject: [PATCH] [ppc fp] Step 1. Rearrange the fp helpers to elimin
On Mon, May 4, 2020 at 7:40 AM BALATON Zoltan wrote:
> Hello,
>
> On Mon, 4 May 2020, 罗勇刚(Yonggang Luo) wrote:
> > Hello Richard, Can you have a look at the following patch, and was that
> are
> > the right direction?
>
> Formatting of the patch is brok
t
> needs a very long time to complete.
>
> Huacai
>
> On Sun, May 3, 2020 at 6:42 PM 罗勇刚(Yonggang Luo)
> wrote:
> >
> > The english version of the reference document is hard to head.
> > I suggest first convert the chinese version into markdown or alte
n 0;
}
```
On Tue, May 5, 2020 at 3:30 AM wrote:
> From: Yonggang Luo
>
> Just post as an idea to improve PPC fp performance.
> With this idea, we have no need to adjust the helper orders.
>
> Signed-off-by: Yonggang Luo
> ---
> target/ppc/fpu_helper.c | 44 +
Because ppc fpu-helper are always clearing float_flag_inexact,
So is that possible to optimize the performance when float_flag_inexact
are cleared?
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
I am interesting doing some help in this area.
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
if
> > instruction requires precision/error check process it in softfloats.
>
> Sure but someone will have to do the work to support that.
>
> --
> Alex Bennée
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Thu, Apr 30, 2020 at 10:18 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 4/29/20 5:20 PM, 罗勇刚(Yonggang Luo) wrote:
> > Question, in hard-float, if we don't want to read the fp register.
> > for example: If we wanna compute c = a + b in fp32
> >
<
richard.hender...@linaro.org> wrote:
> On 4/29/20 5:20 PM, 罗勇刚(Yonggang Luo) wrote:
> > Question, in hard-float, if we don't want to read the fp register.
> > for example: If we wanna compute c = a + b in fp32
> > if c = a + b In hard float
> > and if b1 = c - a in har
g normal numbers.
>
> >
> > A little of documentation here:
> http://mirror.informatimago.com/next/developer.apple.com/documentation/mac/PPCNumerics/PPCNumerics-154.html
> >
> > Regards,
> > Dino Papararo
> >
> > -Messaggio originale-
>
On Thu, Apr 23, 2020 at 11:03 PM Jag Raman wrote:
>
>
> > On Apr 23, 2020, at 9:54 AM, 罗勇刚(Yonggang Luo)
> wrote:
> >
> > Does multi-process support on Windows?
> > I found it use mmap and unix socket for inter-process communication,
> that may not support un
gt;
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1877015/+subscriptions
>
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
060 (21)
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Fri, May 1, 2020 at 10:18 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 5/1/20 6:10 AM, Alex Bennée wrote:
> >
> > 罗勇刚(Yonggang Luo) writes:
> >
> >> On Fri, May 1, 2020 at 7:58 PM BALATON Zoltan
> wrote:
> >>
&
On Fri, May 1, 2020 at 10:18 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 5/1/20 6:10 AM, Alex Bennée wrote:
> >
> > 罗勇刚(Yonggang Luo) writes:
> >
> >> On Fri, May 1, 2020 at 7:58 PM BALATON Zoltan
> wrote:
> >>
&
ips/kvm.c| 212 +
> target/mips/machine.c | 6 +-
> target/mips/mips-defs.h | 7 +-
> target/mips/translate.c | 2 +
> target/mips/translate_init.inc.c | 86
> 18 files changed, 1300 insertions(+), 9 deletions(-)
> create mode 100644 hw/mips/common.c
> create mode 100644 hw/mips/mips_loongson3.c
> --
> 2.7.0
>
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
These patches also enable the make check by ignore the
tests errors, so the CI can be passed.
Yonggang Luo (2):
tests: try to disable make check blocker for msys2
ci: Enable msys2 ci in cirrus
.cirrus.yml | 24 +
scripts/ci/windows/msys2_build.sh
we using environment variable settings:
MSYS: winsymlinks:nativestrict
MSYSTEM: MINGW64
CHERE_INVOKING: 1
to opening mingw64 native shell.
We now running tests with make -i check to skip tests errors.
Signed-off-by: Yonggang Luo
---
.cirrus.yml | 24
tests/test-char are stuck forever on msys2, disable it first
Signed-off-by: Yonggang Luo
---
tests/Makefile.include | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 497f1f21ff..c645e8972a 100644
--- a/tests/Makefile.include
+++ b/tests
Signed-off-by: Yonggang Luo
---
tests/docker/dockerfiles/msys2.docker | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 tests/docker/dockerfiles/msys2.docker
diff --git a/tests/docker/dockerfiles/msys2.docker
b/tests/docker/dockerfiles/msys2.docker
new file mode 100644
Unexpected error in bdrv_reopen_prepare() at ../block.c:4191:
Block format 'file' used by node '#block4251' does not support reopening files
Yonggang Luo (2):
tests: Trying fixes test-replication.c on msys2/mingw.
block: get file-win32.c handle locking option consistence with
file-posix.c
Signed-off-by: Yonggang Luo
---
block/file-win32.c | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/block/file-win32.c b/block/file-win32.c
index ab69bd811a..14e5f5c3b5 100644
--- a/block/file-win32.c
+++ b/block/file-win32.c
@@ -299,6 +299,11
On Windows there is no path like /tmp/s_local_disk.XX
Signed-off-by: Yonggang Luo
---
tests/test-replication.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/tests/test-replication.c b/tests/test-replication.c
index 9ab3666a90..3cf544a133 100644
4 | #include
| ^~~~
compilation terminated.
Signed-off-by: Yonggang Luo
---
configure | 9 +++--
ui/curses.c | 9 -
2 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/configure b/configure
index f8cbd2898c..2dc25bda69 100755
--- a/configure
Use -b to ignore-space-change
The error are:
+@end table
+
+@end deftypefn
+
make: *** [Makefile.mtest:63: check-qapi-schema] Error 1
Signed-off-by: Yonggang Luo
---
tests/qapi-schema/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qapi-schema/meson.build
int __cdecl mkdir (const char *) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
| ^
Signed-off-by: Yonggang Luo
---
tests/test-util-filemonitor.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/test-util-filemonitor.c b/tests/test-util-filemonitor.c
in
and the process won't finishe
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Sat, Sep 5, 2020 at 4:48 PM Thomas Huth wrote:
> On 05/09/2020 08.38, Yonggang Luo wrote:
> > ../tests/test-vmstate.c: In function 'int_cmp':
> > ../tests/test-vmstate.c:884:5: error: unknown type name 'uint'; did you
> mean 'uInt'?
> > 884 | ui
On Fri, Sep 4, 2020 at 9:07 PM Thomas Huth wrote:
> On 04/09/2020 00.06, Yonggang Luo wrote:
> > Signed-off-by: Yonggang Luo
> > ---
> > tests/test-replication.c | 17 +
> > 1 file changed, 13 insertions(+), 4 deletions(-)
> >
> > diff -
we using environment variable settings:
MSYS: winsymlinks:nativestrict
MSYSTEM: MINGW64
CHERE_INVOKING: 1
to opening mingw64 native shell.
We now running tests with make -i check to skip tests errors.
Signed-off-by: Yonggang Luo
---
.cirrus.yml | 24
Signed-off-by: Yonggang Luo
---
tests/docker/dockerfiles/msys2.docker | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 tests/docker/dockerfiles/msys2.docker
diff --git a/tests/docker/dockerfiles/msys2.docker
b/tests/docker/dockerfiles/msys2.docker
new file mode 100644
t; @@ -1,6 +0,0 @@
> > -#include "qemu/osdep.h"
> > -#include "qemu/main-loop.h"
> > -
> > -void qemu_notify_event(void)
> > -{
> > -}
> > diff --git a/stubs/qemu-timer-notify-cb.c b/stubs/qemu-timer-notify-cb.c
> > new file mode 100644
> > index 00..054b408b1c
> > --- /dev/null
> > +++ b/stubs/qemu-timer-notify-cb.c
> > @@ -0,0 +1,8 @@
> > +#include "qemu/osdep.h"
> > +#include "sysemu/cpus.h"
> > +#include "qemu/main-loop.h"
> > +
> > +void qemu_timer_notify_cb(void *opaque, QEMUClockType type)
> > +{
> > +qemu_notify_event();
> > +}
> >
>
> Acked-by: Paolo Bonzini
>
LGTM, can you queue this patch,
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
The error are:
+@end table
+
+@end deftypefn
+
make: *** [Makefile.mtest:63: check-qapi-schema] Error 1
Signed-off-by: Yonggang Luo
---
tests/qapi-schema/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema
On Sat, Sep 5, 2020 at 9:44 PM Paolo Bonzini wrote:
> On 05/09/20 08:23, Yonggang Luo wrote:
> > The ninja options now have no need anymore.
> >
> > Signed-off-by: Yonggang Luo
> > ---
> > meson | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletio
On Fri, Sep 4, 2020 at 3:54 PM Paolo Bonzini wrote:
> On 04/09/20 05:54, 罗勇刚(Yonggang Luo) wrote:
> >
> > test "$vhost_net_user" = "" && vhost_net_user=$vhost_user
> > if test "$vhost_net_user" = "yes" &am
Signed-off-by: Yonggang Luo
---
block/file-win32.c | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/block/file-win32.c b/block/file-win32.c
index ab69bd811a..14e5f5c3b5 100644
--- a/block/file-win32.c
+++ b/block/file-win32.c
@@ -299,6 +299,11
Signed-off-by: Yonggang Luo
---
.github/workflows/main.yml| 31 +++
scripts/ci/windows/msys2-download.bat | 4
2 files changed, 35 insertions(+)
create mode 100644 .github/workflows/main.yml
create mode 100644 scripts/ci/windows/msys2-download.bat
On Sat, Sep 5, 2020 at 7:14 PM Mark Cave-Ayland <
mark.cave-ayl...@ilande.co.uk> wrote:
> On 05/09/2020 07:23, Yonggang Luo wrote:
>
> > Signed-off-by: Yonggang Luo
> > ---
> > capstone | 2 +-
> > configure | 2 +-
> > 2 files changed, 2 insert
int qemu_lock_fd(int fd, int64_t start, int64_t len, bool exclusive);
int qemu_unlock_fd(int fd, int64_t start, int64_t len);
int qemu_lock_fd_test(int fd, int64_t start, int64_t len, bool exclusive);
bool qemu_has_ofd_lock(void);
Signed-off-by: Yonggang Luo
---
include/qemu/osdep.h | 2 +-
1
Signed-off-by: Yonggang Luo
---
block/nfs.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/block/nfs.c b/block/nfs.c
index 61a249a9fc..34b2cd5708 100644
--- a/block/nfs.c
+++ b/block/nfs.c
@@ -24,7 +24,9 @@
#include "qemu/os
Signed-off-by: Yonggang Luo
---
tests/test-replication.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/tests/test-replication.c b/tests/test-replication.c
index 9ab3666a90..d0e06f8d77 100644
--- a/tests/test-replication.c
+++ b/tests/test-replication.c
'?
885 | uint ub = GPOINTER_TO_UINT(b);
| ^~~~
| uInt
make: *** [Makefile.ninja:5461:tests/test-vmstate.exe.p/test-vmstate.c.obj] 错误 1
Signed-off-by: Yonggang Luo
---
tests/test-vmstate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test
Also it's fixes issues about make check
Yonggang Luo (11):
Revert "configure: add --ninja option"
block: Fixes nfs on msys2/mingw
ci: fixes msys2 build by upgrading capstone to 4.0.2
meson: upgrade meson for execute custom ninjatool under msys2 properly
ci: Enable msys2 ci
This reverts commit 48328880fddf0145bdccc499160fb24dfabfbd41.
Signed-off-by: Yonggang Luo
---
configure | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/configure b/configure
index d3495e107f..5d8bf4d8bb 100755
--- a/configure
+++ b/configure
@@ -517,7 +517,6
Signed-off-by: Yonggang Luo
---
capstone | 2 +-
configure | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/capstone b/capstone
index 22ead3e0bf..1d23053284 16
--- a/capstone
+++ b/capstone
@@ -1 +1 @@
-Subproject commit 22ead3e0bfdb87516656453336160e0a37b066bf
The ninja options now have no need anymore.
Signed-off-by: Yonggang Luo
---
meson | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson b/meson
index 68ed748f84..492afe50a4 16
--- a/meson
+++ b/meson
@@ -1 +1 @@
-Subproject commit 68ed748f84f14c2d4e62dcbd123816e5898eb04c
On Fri, Sep 4, 2020 at 4:51 PM Kevin Wolf wrote:
> Am 04.09.2020 um 08:03 hat Thomas Huth geschrieben:
> > On 04/09/2020 00.53, 罗勇刚(Yonggang Luo) wrote:
> > >
> > >
> > > On Thu, Sep 3, 2020 at 10:33 PM Thomas Huth > > <mailto:th...@redhat.com>&
On Sun, Sep 6, 2020 at 5:49 AM Stefan Weil wrote:
> Am 05.09.20 um 23:10 schrieb Yonggang Luo:
>
> > On Windows there is no path like /tmp/s_local_disk.XX
> >
> > Signed-off-by: Yonggang Luo
> > ---
> > tests/test-replication.c | 13 +
>
On Fri, Sep 4, 2020 at 1:20 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 9/3/20 1:31 AM, Yonggang Luo wrote:
> > Rename function dup_const to dup_const_eval for avoid confliction with
> macro dup_const
> >
> > The link error on msys2
>
Signed-off-by: Yonggang Luo
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index e42d210e5f..ae63c4fd54 100755
--- a/configure
+++ b/configure
@@ -2545,7 +2545,7 @@ fi
# vhost-user backends
test "$vhost_net_user" = "&quo
On Thu, Sep 3, 2020 at 10:33 PM Thomas Huth wrote:
> On 03/09/2020 11.18, 罗勇刚(Yonggang Luo) wrote:
> [...]
> > TESTcheck-unit: tests/test-replication.exe
> > **
> > ERROR:C:/work/xemu/qemu/tests/test-replication.c:136:make_temp:
> > assertion fa
Signed-off-by: Yonggang Luo
---
tests/test-replication.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/tests/test-replication.c b/tests/test-replication.c
index 9ab3666a90..d0e06f8d77 100644
--- a/tests/test-replication.c
+++ b/tests/test-replication.c
mon.c:68:
> undefined reference to `__ubsan_handle_type_mismatch_v1'
> /home/petmay01/linaro/qemu-for-merges/build/clang/../../cpus-common.c:67:
> undefined reference to `__ubsan_handle_type_mismatch_v1'
>
> libcommon.fa.p/cpus-common.c.o:/home/petmay01/linaro/qemu-for-merges/build/clang/../../cpus-common.c:67:
> more undefined references to `__ubsan_handle_type_mismatch_v1' follow
> collect2: error: ld returned 1 exit status
>
> thanks
> -- PMM
>
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Sat, Sep 5, 2020 at 4:42 PM Thomas Huth wrote:
> On 05/09/2020 08.23, Yonggang Luo wrote:
> > The error are:
> > +@end table
> > +
> > +@end deftypefn
> > +
> > make: *** [Makefile.mtest:63: check-qapi-schema] Error 1
> >
> > Signed-o
On Sun, Sep 6, 2020 at 11:28 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 9/5/20 1:42 PM, Yonggang Luo wrote:
> > +nativecharset_to_ucs2 = iconv_open("UCS-2", g_get_codeset());
>
> g_get_codeset():
> "a newly allocated string c
4 | #include
| ^~~~
compilation terminated.
Signed-off-by: Yonggang Luo
---
configure | 9 +++--
ui/curses.c | 10 +-
2 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/configure b/configure
index f8cbd2898c..2dc25bda69 100755
--- a/configure
4 | #include
| ^~~~
compilation terminated.
Signed-off-by: Yonggang Luo
---
configure | 9 +++--
ui/curses.c | 10 +-
2 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/configure b/configure
index f8cbd2898c..2dc25bda69 100755
--- a/configure
Bonzini, you need have a look at this
On Sat, Sep 5, 2020 at 2:38 PM Yonggang Luo wrote:
> ../tests/test-vmstate.c: In function 'int_cmp':
> ../tests/test-vmstate.c:884:5: error: unknown type name 'uint'; did you
> mean 'uInt'?
> 884 | uint ua = GPOI
gt;
> test "$vhost_crypto" = "" && vhost_crypto=$vhost_user
>> if test "$vhost_crypto" = "yes" && test "$vhost_user" = "no"; then
>> --
>> 2.28.0.windows.1
>>
>>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
undefsym.sh are not msys2 compatible, convert it to python script
Signed-off-by: Yonggang Luo
---
meson.build | 2 +-
scripts/undefsym.py | 57 +
scripts/undefsym.sh | 20
3 files changed, 58 insertions(+), 21 deletions
I am OK with that, I just need to this make the CI green, once your patch
upstream, I'll drop this
On Thu, Sep 3, 2020 at 1:05 AM Paolo Bonzini wrote:
> On 02/09/20 19:00, Yonggang Luo wrote:
> > On msys2, the -I/e/path/to/qemu -L/e/path/to/qemu are not recognized by
> the compil
Win32 gcc 10 mingw
On Thu, Sep 3, 2020 at 1:16 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 9/2/20 10:00 AM, Yonggang Luo wrote:
> > Rename function dup_const to dup_const_eval for avoid confliction with
> macro dup_const
> >
> > The link error o
Also it's fixes two issue about make check
Yonggang Luo (6):
configure: fixes dtc not cloned when running msys2 CI
meson: Convert undefsym.sh to undefsym.py
ci: Install msys2 in a proper way refer to
https://github.com/cirruslabs/cirrus-ci-docs/issues/699 Enable msys2
ci in cirrus
---
.cirrus.yml | 23
scripts/ci/windows/msys2_build.sh | 35
scripts/ci/windows/msys2_install.sh | 41 +
3 files changed, 99 insertions(+)
create mode 100644 scripts/ci/windows/msys2_build.sh
create
Symlink dtc after git submodule update, because on win32 symlink to non-exist
folder are forbidden.
Signed-off-by: Yonggang Luo
---
configure | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 8a3acef89d..30f8c4db29 100755
-by: Yonggang Luo
---
tests/test-replication.c | 4
1 file changed, 4 insertions(+)
diff --git a/tests/test-replication.c b/tests/test-replication.c
index e0b03dafc2..9ab3666a90 100644
--- a/tests/test-replication.c
+++ b/tests/test-replication.c
@@ -554,6 +554,9 @@ static void
: in function
`tcg_gen_dupi_vec':
E:\CI-Cor-Ready\xemu\qemu-build/../qemu.org/tcg/tcg-op-vec.c:283: undefined
reference to `dup_const'
collect2.exe: error: ld returned 1 exit status
Signed-off-by: Yonggang Luo
---
include/tcg/tcg.h | 6 +++---
tcg/tcg-op-gvec.c | 2 +-
2 files changed, 4
OK, waiting for it upstream.
On Thu, Sep 3, 2020 at 1:04 AM Paolo Bonzini wrote:
> On 02/09/20 19:00, Yonggang Luo wrote:
> > SIGABRT should use signal(SIGABRT, sigabrt_handler) to handle on win32
> >
> > The error:
> > E:/CI-Cor-Ready/xemu/qemu.org/tests/test-
. So we replace all $PWD with $build_path that can
building qemu under msys2/mingw environment.
Signed-off-by: Yonggang Luo
---
configure | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/configure b/configure
index 30f8c4db29..5f2bcc4b57 100755
On Thu, Sep 3, 2020 at 1:30 AM Philippe Mathieu-Daudé
wrote:
> On 9/2/20 7:00 PM, Yonggang Luo wrote:
> > ---
> > .cirrus.yml | 23
> > scripts/ci/windows/msys2_build.sh | 35
> > scripts/ci/wi
On Thu, Sep 3, 2020 at 1:30 AM Philippe Mathieu-Daudé
wrote:
> On 9/2/20 7:00 PM, Yonggang Luo wrote:
> > ---
> > .cirrus.yml | 23
> > scripts/ci/windows/msys2_build.sh | 35
> > scripts/ci/wi
https://cirrus-ci.com/task/5708273301061632?command=main#L6792
make: *** [Makefile.mtest:63: check-qapi-schema] Error 1
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Thu, Sep 3, 2020 at 3:13 AM Mark Cave-Ayland <
mark.cave-ayl...@ilande.co.uk> wrote:
> On 02/09/2020 20:01, 罗勇刚(Yonggang Luo) wrote:
>
> > Yes indeed, it looks like a very comprehensive build :) Note that
> with the meson
> > build I no longer have to
On Thu, Sep 3, 2020 at 2:55 AM Mark Cave-Ayland <
mark.cave-ayl...@ilande.co.uk> wrote:
> On 02/09/2020 18:50, 罗勇刚(Yonggang Luo) wrote:
>
> > On Thu, Sep 3, 2020 at 1:30 AM Philippe Mathieu-Daudé > <mailto:f4...@amsat.org>> wrote:
> >
> >
to
`qemu_has_ofd_lock'
5569collect2.exe: error: ld returned 1 exit status
5570make: *** [D:/a/qemu/qemu/rules.mak:88: tests/test-image-locking.exe]
Error 1
5571make: *** Waiting for unfinished jobs
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
On Thu, Sep 3, 2020 at 3:33 AM Thomas Huth wrote:
> On 02/09/2020 21.13, 罗勇刚(Yonggang Luo) wrote:
> >
> >
> C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> > tests/test-image-locking.o: in function `check_
int qemu_lock_fd(int fd, int64_t start, int64_t len, bool exclusive);
int qemu_unlock_fd(int fd, int64_t start, int64_t len);
int qemu_lock_fd_test(int fd, int64_t start, int64_t len, bool exclusive);
bool qemu_has_ofd_lock(void);
---
include/qemu/osdep.h | 2 +-
1 file changed, 1 insertion(+), 1
. So we replace all $PWD with $build_path that can
building qemu under msys2/mingw environment.
Signed-off-by: Yonggang Luo
---
configure | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/configure b/configure
index 30f8c4db29..5f2bcc4b57 100755
-by: Yonggang Luo
---
tests/test-replication.c | 4
1 file changed, 4 insertions(+)
diff --git a/tests/test-replication.c b/tests/test-replication.c
index e0b03dafc2..9ab3666a90 100644
--- a/tests/test-replication.c
+++ b/tests/test-replication.c
@@ -554,6 +554,9 @@ static void
undefsym.sh are not msys2 compatible, convert it to python script
Signed-off-by: Yonggang Luo
---
meson.build | 2 +-
scripts/undefsym.py | 57 +
scripts/undefsym.sh | 20
3 files changed, 58 insertions(+), 21 deletions
---
block/nfs.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/block/nfs.c b/block/nfs.c
index 61a249a9fc..34b2cd5708 100644
--- a/block/nfs.c
+++ b/block/nfs.c
@@ -24,7 +24,9 @@
#include "qemu/osdep.h"
+#if !defined(_WIN32)
#include
+#endif
so I will use any possible
toolchain, and you may not use it at all.
>
> ATB,
>
> Mark.
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
1 - 100 of 760 matches
Mail list logo