Re: [PATCH 1/3] Fix libvhost-user.c compilation.

2023-04-18 Thread David Turner
On Tue, Apr 18, 2023 at 10:47 AM Daniel P. Berrangé wrote: > On Fri, Apr 07, 2023 at 11:25:14AM +0200, David Turner wrote: > > I meant glibc-2.17, I am using a sysroot to ensure the generated binaries > > run on older Linux distributions. > > I think that would be considere

Re: [PATCH 1/3] Fix libvhost-user.c compilation.

2023-04-07 Thread David Turner
On Fri, Apr 7, 2023 at 11:46 AM Michael S. Tsirkin wrote: > On Fri, Apr 07, 2023 at 11:29:46AM +0200, David Turner wrote: > > So it looks like that for some reason, the QEMU linux-headers directory > is not > > in the include search path for this compilation command, and that

Re: [PATCH 1/3] Fix libvhost-user.c compilation.

2023-04-07 Thread David Turner
gs though, but I'd be happy to change the patch to do that instead. On Fri, Apr 7, 2023 at 11:29 AM David Turner wrote: > So it looks like that for some reason, the QEMU linux-headers directory is > not in the include search path for this compilation command, and that the > system-

Re: [PATCH 1/3] Fix libvhost-user.c compilation.

2023-04-07 Thread David Turner
to do that yet though. Do you have any recommendations? On Fri, Apr 7, 2023 at 11:25 AM David Turner wrote: > I meant glibc-2.17, I am using a sysroot to ensure the generated binaries > run on older Linux distributions. > > On Fri, Apr 7, 2023 at 11:24 AM David Turner wrote: >

Re: [PATCH 1/3] Fix libvhost-user.c compilation.

2023-04-07 Thread David Turner
I meant glibc-2.17, I am using a sysroot to ensure the generated binaries run on older Linux distributions. On Fri, Apr 7, 2023 at 11:24 AM David Turner wrote: > The of glib-2.17 begins with: > > #ifndef _LINUX_VHOST_H > #define _LINUX_VHOST_H > /* Userspace interface for i

Re: [PATCH 1/3] Fix libvhost-user.c compilation.

2023-04-07 Thread David Turner
The of glib-2.17 begins with: #ifndef _LINUX_VHOST_H #define _LINUX_VHOST_H /* Userspace interface for in-kernel virtio accelerators. */ /* vhost is used to reduce the number of system calls involved in virtio. * * Existing virtio net code is used in the guest without modification. * * This h

Re: [PATCH 2/2] Add missing Linux kernel headers.

2023-04-05 Thread David Turner
On Wed, Apr 5, 2023 at 6:41 PM Peter Maydell wrote: > On Wed, 5 Apr 2023 at 16:55, Cornelia Huck wrote: > > > > On Wed, Apr 05 2023, David Turner wrote: > > > > > On Wed, Apr 5, 2023 at 3:06 PM Cornelia Huck > wrote: > > > > > >&

Re: [PATCH 2/2] Add missing Linux kernel headers.

2023-04-05 Thread David Turner
On Wed, Apr 5, 2023 at 3:06 PM Cornelia Huck wrote: > On Wed, Apr 05 2023, "David 'Digit' Turner" wrote: > > > Add , used by hw/display/virtio-gpu-udmabuf.c > > Add , used by qga/commands-posix.c > > Add used by kvm-all.c, which requires > > the _BITUL() macro definition to be available. > > >

Re: [Qemu-devel] Use Clang to compile Qemu?

2011-12-23 Thread David Turner
Some parts of QEMU (the JIT) require the use of a global register variable to point to the "env" CPU state variable. This feature is not supported by Clang (which is not very surprising given that it uses LLVM as its backend, and LLVM explicitely doesn't support this) Until the JIT is modified to

Re: [Qemu-devel] Does qemu support cortex a8 and cortex a9 now?

2011-01-11 Thread David Turner
Yes, they do :-) use "-cpu cortex-a8" or "-cpu cortex-a9" when launching qemu-system-arm On Tue, Jan 11, 2011 at 4:27 AM, Fan Chongbin-B32609 wrote: > Hi, guys > > > > Does qemu support cortex a8 and cortex a9 now? If not, is there any plan > for them? > > > > BR > > Jerry >

Re: [Qemu-devel] [PATCH 0/7] target-arm: Translate based on TB flags, not CPUState

2011-01-07 Thread David Turner
For what is worth, this was fixed in the Android emulator with the following patch: http://android.git.kernel.org/?p=platform/external/qemu.git;a=commit;h=01e9608cb62901d13b330f851a260a2082e81a06

Re: [Qemu-devel] Merge qemu android

2010-01-28 Thread David Turner
On Thu, Jan 28, 2010 at 2:44 AM, Bastien ROUCARIES < roucaries.bast...@gmail.com> wrote: > They use also craps like sdl :S > > That's totally orthogonal to upstream QEMU. The code for our SDL-supported interface is totally separate from the rest of QEMU changes (or so I hope), and also different f

Re: [Qemu-devel] Merge qemu android

2010-01-28 Thread David Turner
Anthony is right, and unfortunately the Android team doesn't have the bandwidth to support sending patches to upstream at the moment. Note that our version of QEMU is a rather complex mix of 0.8.2 and upstream. I routinely cherry pick upstream improvements and incorporate them to the codebase. How