Skip to contentSkip to conversation

.gitignore update

PATCH Applied David Gibson 4 participants 5 messages Mar 8, 2012 – Mar 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 .gitignore update

This adds a few previously missing generated files to .gitignore: the qemu-bridge-helper binary, and the linuxboot and multiboot images from pc-bios/optionrom.

---
 .gitignore                   |    1 +
 pc-bios/optionrom/.gitignore |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 pc-bios/optionrom/.gitignore
.gitignore +1 -0
index 81b1510..b290954 100644
@@ -39,6 +39,7 @@ qemu-img-cmds.texi
 qemu-img-cmds.h
 qemu-io
 qemu-ga
+qemu-bridge-helper
 qemu-monitor.texi
 QMP/qmp-commands.txt
 test-coroutine
pc-bios/optionrom/.gitignore new file +5 -0
new file mode 100644
index 0000000..57b036c
@@ -0,0 +1,5 @@
+linuxboot.img
+linuxboot.raw
+multiboot.img
+kvmvapic.img
+kvmvapic.raw
Signature · 1 line
1.7.9.1
#1 lore raw

PATCH 2/2 cache-utils.h needs stdint.h for uintptr_t

cache-utils.h uses the C99 standard uintptr_t type. However, that type comes from stdint.h which is not #included before cache-utils.h in all configurations. This patch adds the necessary include to fix this.

---
 cache-utils.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
cache-utils.h +2 -0
index 04a6e2e..b0f1786 100644
@@ -1,6 +1,8 @@
 #ifndef QEMU_CACHE_UTILS_H
 #define QEMU_CACHE_UTILS_H
 
+#include <stdint.h>
+
 #if defined(_ARCH_PPC)
 struct qemu_cache_conf {
     unsigned long dcache_bsize;
Signature · 1 line
1.7.9.1
#2 lore raw

Re: [Qemu-devel] [PATCH 2/2] cache-utils.h needs stdint.h for uintptr_t

Am 08.03.2012 02:09, schrieb David Gibson:

Quoted 14 lines

cache-utils.h uses the C99 standard uintptr_t type. However, that type comes from stdint.h which is not #included before cache-utils.h in all configurations. This patch adds the necessary include to fix this.

---
  cache-utils.h |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
cache-utils.h +0 -0
index 04a6e2e..b0f1786 100644

cache-utils.h line 8

Quoted 8 lines
cache-utils.h +2 -0
@@ -1,6 +1,8 @@
  #ifndef QEMU_CACHE_UTILS_H
  #define QEMU_CACHE_UTILS_H
 
+#include<stdint.h>
+
  #if defined(_ARCH_PPC)
  struct qemu_cache_conf {
      unsigned long dcache_bsize;

The include statement is only needed for _ARCH_PPC.

See http://patchwork.ozlabs.org/patch/144763/ which fixes the same issue.

Anthony, Blue, could someone please commit my patch?

Regards,

Stefan W.

#3 lore raw

Re: [Qemu-devel] [PATCH 2/2] cache-utils.h needs stdint.h for uintptr_t

Quoted 26 lines · Stefan Weil

Am 08.03.2012 02:09, schrieb David Gibson:

Quoted 14 lines

cache-utils.h uses the C99 standard uintptr_t type. However, that type comes from stdint.h which is not #included before cache-utils.h in all configurations. This patch adds the necessary include to fix this.

---
 cache-utils.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
cache-utils.h +0 -0
index 04a6e2e..b0f1786 100644

cache-utils.h line 8

Quoted 8 lines
cache-utils.h +2 -0
@@ -1,6 +1,8 @@
 #ifndef QEMU_CACHE_UTILS_H
 #define QEMU_CACHE_UTILS_H
 
+#include<stdint.h>
+
 #if defined(_ARCH_PPC)
 struct qemu_cache_conf {
     unsigned long dcache_bsize;

The include statement is only needed for _ARCH_PPC.

Quoted 2 lines

See http://patchwork.ozlabs.org/patch/144763/ which fixes the same issue.

Ok, cool, didn't spot that one.

Quoted 6 lines

Anthony, Blue, could someone please commit my patch?

Regards,

Stefan W.

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
#4 lore raw
In reply to David Gibson
Quoted 10 lines · David Gibson

This adds a few previously missing generated files to .gitignore: the qemu-bridge-helper binary, and the linuxboot and multiboot images from pc-bios/optionrom.

---
 .gitignore                   |    1 +
 pc-bios/optionrom/.gitignore |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 pc-bios/optionrom/.gitignore

Only taking Patch 1, since Patch 2 seems to be covered by a yet-to-be-merged patch on the list.

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan