Skip to contentSkip to conversation

trivial: Move softmmu_template.h to the accel/tcg/ folder

PATCH Applied Thomas Huth 4 participants 9 messages Jul 11, 2017 – Sep 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial: Move softmmu_template.h to the accel/tcg/ folder

The header is only used by accel/tcg/cputlb.c so we can move it to the accel/tcg/ folder, too.

---
Note: This patch should be applied after Philippe's "MAINTAINERS:
update TCG entries" patch here:
https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg06529.html

 MAINTAINERS                                        | 1 -
 softmmu_template.h => accel/tcg/softmmu_template.h | 0
 2 files changed, 1 deletion(-)
 rename softmmu_template.h => accel/tcg/softmmu_template.h (100%)
MAINTAINERS +0 -1
index 74b3956..993b12e 100644
@@ -86,7 +86,6 @@ M: Richard Henderson <[email protected]>
 S: Maintained
 F: cpus.c
 F: exec.c
-F: softmmu_template.h
 F: accel/tcg/
 F: include/exec/cpu*.h
 F: include/exec/exec-all.h
accel/tcg/softmmu_template.h renamed from softmmu_template.h +0 -0
similarity index 100%
rename from softmmu_template.h
rename to accel/tcg/softmmu_template.h
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw

accel/tcg/softmmu_template.h

Quoted 31 lines · Thomas Huth

The header is only used by accel/tcg/cputlb.c so we can move it to the accel/tcg/ folder, too.

---
Note: This patch should be applied after Philippe's "MAINTAINERS:
update TCG entries" patch here:
https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg06529.html

 MAINTAINERS                                        | 1 -
 softmmu_template.h => accel/tcg/softmmu_template.h | 0
 2 files changed, 1 deletion(-)
 rename softmmu_template.h => accel/tcg/softmmu_template.h (100%)
MAINTAINERS +0 -1
index 74b3956..993b12e 100644
@@ -86,7 +86,6 @@ M: Richard Henderson <[email protected]>
 S: Maintained
 F: cpus.c
 F: exec.c
-F: softmmu_template.h
 F: accel/tcg/
 F: include/exec/cpu*.h
 F: include/exec/exec-all.h
accel/tcg/softmmu_template.h renamed from softmmu_template.h +0 -0
similarity index 100%
rename from softmmu_template.h
rename to accel/tcg/softmmu_template.h
#2 lore raw
In reply to Thomas Huth

accel/tcg/softmmu_template.h

Quoted 31 lines · Thomas Huth

The header is only used by accel/tcg/cputlb.c so we can move it to the accel/tcg/ folder, too.

---
Note: This patch should be applied after Philippe's "MAINTAINERS:
update TCG entries" patch here:
https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg06529.html

 MAINTAINERS                                        | 1 -
 softmmu_template.h => accel/tcg/softmmu_template.h | 0
 2 files changed, 1 deletion(-)
 rename softmmu_template.h => accel/tcg/softmmu_template.h (100%)
MAINTAINERS +0 -1
index 74b3956..993b12e 100644
@@ -86,7 +86,6 @@ M: Richard Henderson <[email protected]>
 S: Maintained
 F: cpus.c
 F: exec.c
-F: softmmu_template.h
 F: accel/tcg/
 F: include/exec/cpu*.h
 F: include/exec/exec-all.h
accel/tcg/softmmu_template.h renamed from softmmu_template.h +0 -0
similarity index 100%
rename from softmmu_template.h
rename to accel/tcg/softmmu_template.h

Queued, thanks.

Paolo

#3 lore raw

PATCH 1/1 tcg: move atomic_template.h to accel/tcg/

In reply to Thomas Huth

---
same as Thomas previous patch. this file had no entry in MAINTAINERS.

 atomic_template.h => accel/tcg/atomic_template.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename atomic_template.h => accel/tcg/atomic_template.h (100%)
accel/tcg/atomic_template.h renamed from atomic_template.h +0 -0
similarity index 100%
rename from atomic_template.h
rename to accel/tcg/atomic_template.h
Signature · 1 line
2.13.2
author Tested-by on v1 1/1
#4 lore raw

Re: [Qemu-devel] [PATCH] tcg: move atomic_template.h to accel/tcg/

accel/tcg/atomic_template.h

Quoted 12 lines · Philippe Mathieu-Daudé

---
same as Thomas previous patch. this file had no entry in MAINTAINERS.

 atomic_template.h => accel/tcg/atomic_template.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename atomic_template.h => accel/tcg/atomic_template.h (100%)
accel/tcg/atomic_template.h renamed from atomic_template.h +0 -0
similarity index 100%
rename from atomic_template.h
rename to accel/tcg/atomic_template.h

It's also used by a file in tcg/, but I've checked, and yes, the code still compiles fine if the header gets moved to accel/tcg/.

#5 lore raw

Re: [Qemu-devel] [PATCH] tcg: move atomic_template.h to accel/tcg/

Quoted 17 lines · Thomas Huth

accel/tcg/atomic_template.h

Quoted 12 lines · Philippe Mathieu-Daudé

---
same as Thomas previous patch. this file had no entry in MAINTAINERS.

 atomic_template.h => accel/tcg/atomic_template.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename atomic_template.h => accel/tcg/atomic_template.h (100%)
accel/tcg/atomic_template.h renamed from atomic_template.h +0 -0
similarity index 100%
rename from atomic_template.h
rename to accel/tcg/atomic_template.h

It's also used by a file in tcg/, but I've checked, and yes, the code still compiles fine if the header gets moved to accel/tcg/.

Quoted 2 lines

That part of tcg/tcg-runtime.c probably should be moved to user-exec.c, and user-exec.c should in turn be in accel/tcg.

Since this is just code movement we can do it after soft freeze. Philippe, can you send v2?

Thanks,

Paolo

#6 lore raw

Re: [Qemu-devel] [PATCH] tcg: move atomic_template.h to accel/tcg/

Quoted 18 lines · Paolo Bonzini
Quoted 17 lines · Thomas Huth

accel/tcg/atomic_template.h

Quoted 12 lines · Philippe Mathieu-Daudé

---
same as Thomas previous patch. this file had no entry in MAINTAINERS.

 atomic_template.h => accel/tcg/atomic_template.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename atomic_template.h => accel/tcg/atomic_template.h (100%)
accel/tcg/atomic_template.h renamed from atomic_template.h +0 -0
similarity index 100%
rename from atomic_template.h
rename to accel/tcg/atomic_template.h

It's also used by a file in tcg/, but I've checked, and yes, the code still compiles fine if the header gets moved to accel/tcg/.

Quoted 8 lines
Quoted 2 lines

That part of tcg/tcg-runtime.c probably should be moved to user-exec.c, and user-exec.c should in turn be in accel/tcg.

Since this is just code movement we can do it after soft freeze. Philippe, can you send v2?

Ping?

Looks like the atomic_template.h is still in the main directory ...

Thomas

#7 lore raw

Re: [Qemu-devel] [PATCH] tcg: move atomic_template.h to accel/tcg/

Quoted 25 lines · Thomas Huth
Quoted 24 lines · Paolo Bonzini
Quoted 17 lines · Thomas Huth

accel/tcg/atomic_template.h

Quoted 12 lines · Philippe Mathieu-Daudé

---
same as Thomas previous patch. this file had no entry in MAINTAINERS.

 atomic_template.h => accel/tcg/atomic_template.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename atomic_template.h => accel/tcg/atomic_template.h (100%)
accel/tcg/atomic_template.h renamed from atomic_template.h +0 -0
similarity index 100%
rename from atomic_template.h
rename to accel/tcg/atomic_template.h

It's also used by a file in tcg/, but I've checked, and yes, the code still compiles fine if the header gets moved to accel/tcg/.

Quoted 2 lines

That part of tcg/tcg-runtime.c probably should be moved to user-exec.c, and user-exec.c should in turn be in accel/tcg.

Quoted 6 lines
Quoted 2 lines

Since this is just code movement we can do it after soft freeze. Philippe, can you send v2?

Ping?

Looks like the atomic_template.h is still in the main directory ...

Still waiting for v2...

Paolo

#8 lore raw

Re: [Qemu-devel] [PATCH] tcg: move atomic_template.h to accel/tcg/

Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 17 lines · Philippe Mathieu-Daudé

accel/tcg/atomic_template.h

Quoted 12 lines

---
same as Thomas previous patch. this file had no entry in MAINTAINERS.

  atomic_template.h => accel/tcg/atomic_template.h | 0
  1 file changed, 0 insertions(+), 0 deletions(-)

rename atomic_template.h => accel/tcg/atomic_template.h (100%)

accel/tcg/atomic_template.h renamed from atomic_template.h +0 -0
similarity index 100%
rename from atomic_template.h
rename to accel/tcg/atomic_template.h

It's also used by a file in tcg/, but I've checked, and yes, the code still compiles fine if the header gets moved to accel/tcg/.

Quoted 2 lines

That part of tcg/tcg-runtime.c probably should be moved to user-exec.c, and user-exec.c should in turn be in accel/tcg.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Since this is just code movement we can do it after soft freeze. Philippe, can you send v2?

Ping?

Looks like the atomic_template.h is still in the main directory ...

Still waiting for v2...

I chat with Thomas last night about it, with 2.10 freeze I totally forgot about this, sorry! I'll respin v2 during the day.