.gitignore update
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
@@ -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
@@ -0,0 +1,5 @@ +linuxboot.img +linuxboot.raw +multiboot.img +kvmvapic.img +kvmvapic.raw
Signature · 1 line
1.7.9.1
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
@@ -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
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.huses the C99 standarduintptr_ttype. However, that type comes fromstdint.hwhich is not #included beforecache-utils.hin all configurations. This patch adds the necessary include to fix this.Signed-off-by David Gibson<[email protected]>--- cache-utils.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)cache-utils.h +0
-0
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.
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.huses the C99 standarduintptr_ttype. However, that type comes fromstdint.hwhich is not #included beforecache-utils.hin all configurations. This patch adds the necessary include to fix this.Signed-off-by David Gibson<[email protected]>--- cache-utils.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)cache-utils.h +0
-0cache-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
Stefan Hajnoczi
AppliedQuoted 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.
Signed-off-by David Gibson <[email protected]>--- .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