* [Qemu-devel] [PATCH] linux-user: move thunk.c to linux-user/
@ 2018-05-10 9:29 Laurent Vivier
2018-05-10 9:35 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Vivier @ 2018-05-10 9:29 UTC (permalink / raw)
To: qemu-devel; +Cc: Riku Voipio, Laurent Vivier
thunk.c is part of linux-user and only used by it,
so move it to the linux-user directory.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
Makefile.target | 2 +-
linux-user/Makefile.objs | 2 +-
thunk.c => linux-user/thunk.c | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename thunk.c => linux-user/thunk.c (100%)
diff --git a/Makefile.target b/Makefile.target
index d0ec77a307..98f25c91c7 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -112,7 +112,7 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) \
-I$(SRC_PATH)/linux-user
obj-y += linux-user/
-obj-y += gdbstub.o thunk.o
+obj-y += gdbstub.o
endif #CONFIG_LINUX_USER
diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs
index 59a5c17354..1fc1dd2762 100644
--- a/linux-user/Makefile.objs
+++ b/linux-user/Makefile.objs
@@ -1,7 +1,7 @@
obj-y = main.o syscall.o strace.o mmap.o signal.o \
elfload.o linuxload.o uaccess.o uname.o \
safe-syscall.o $(TARGET_ABI_DIR)/signal.o \
- $(TARGET_ABI_DIR)/cpu_loop.o
+ $(TARGET_ABI_DIR)/cpu_loop.o thunk.o
obj-$(TARGET_HAS_BFLT) += flatload.o
obj-$(TARGET_I386) += vm86.o
diff --git a/thunk.c b/linux-user/thunk.c
similarity index 100%
rename from thunk.c
rename to linux-user/thunk.c
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] linux-user: move thunk.c to linux-user/
2018-05-10 9:29 [Qemu-devel] [PATCH] linux-user: move thunk.c to linux-user/ Laurent Vivier
@ 2018-05-10 9:35 ` Peter Maydell
2018-05-10 9:44 ` Laurent Vivier
0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2018-05-10 9:35 UTC (permalink / raw)
To: Laurent Vivier; +Cc: QEMU Developers, Riku Voipio, Warner Losh
On 10 May 2018 at 10:29, Laurent Vivier <laurent@vivier.eu> wrote:
> thunk.c is part of linux-user and only used by it,
> so move it to the linux-user directory.
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
> Makefile.target | 2 +-
> linux-user/Makefile.objs | 2 +-
> thunk.c => linux-user/thunk.c | 0
> 3 files changed, 2 insertions(+), 2 deletions(-)
> rename thunk.c => linux-user/thunk.c (100%)
bsd-user doesn't use it now, but I have a feeling maybe
the currently-out-of-tree improvements do?
thanks
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] linux-user: move thunk.c to linux-user/
2018-05-10 9:35 ` Peter Maydell
@ 2018-05-10 9:44 ` Laurent Vivier
0 siblings, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2018-05-10 9:44 UTC (permalink / raw)
To: Peter Maydell; +Cc: QEMU Developers, Riku Voipio, Warner Losh
Le 10/05/2018 à 11:35, Peter Maydell a écrit :
> On 10 May 2018 at 10:29, Laurent Vivier <laurent@vivier.eu> wrote:
>> thunk.c is part of linux-user and only used by it,
>> so move it to the linux-user directory.
>>
>> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
>> ---
>> Makefile.target | 2 +-
>> linux-user/Makefile.objs | 2 +-
>> thunk.c => linux-user/thunk.c | 0
>> 3 files changed, 2 insertions(+), 2 deletions(-)
>> rename thunk.c => linux-user/thunk.c (100%)
>
> bsd-user doesn't use it now, but I have a feeling maybe
> the currently-out-of-tree improvements do?
Yes, you're right, I've found it in
https://github.com/seanbruno/qemu-bsd-user/blob/bsd-user/bsd-user/bsd-ioctl.c
Thanks,
Laurent
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-10 9:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-10 9:29 [Qemu-devel] [PATCH] linux-user: move thunk.c to linux-user/ Laurent Vivier
2018-05-10 9:35 ` Peter Maydell
2018-05-10 9:44 ` Laurent Vivier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.