Misc changes for 2016-06-06
The following changes since commit 76462405809d29bab65a3699686998ba124ab942:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160606-1' into staging (2016-06-06 17:02:42 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you to fetch changes up to 379b954bf85e3d05e6323def1736d3bdea9b2a5c:
vnc: list the 'to' parameter of '-vnc' in the qemu man page (2016-06-06 19:00:25 +0200)
----------------------------------------------------------------
* max-ram-below-4g improvement (Gerd)
* escc fix (xiaoqiang)
* ESP fix (Prasad)
* scsi-disk tweaks/fix (me)
* PKGVERSION improvement (Fam)
* -vnc man improvement (Robert)
----------------------------------------------------------------
Fam Zheng (3):
tests: Rename tests/Makefile to tests/Makefile.include
Makefile: Add a "FORCE" target
Makefile: Derive "PKGVERSION" from "git describe" by default
Gerd Hoffmann (1):
pc: allow raising low memory via max-ram-below-4g option
Paolo Bonzini (2):
scsi: mark TYPE_SCSI_DISK_BASE as abstract
scsi-disk: add missing break
Prasad J Pandit (1):
scsi: esp: check TI buffer index before read/write
Robert Ho (1):
vnc: list the 'to' parameter of '-vnc' in the qemu man page
xiaoqiang zhao (1):
hw/char: QOM'ify escc.c (fix)
Makefile | 26 +++++++++++++--
hw/char/escc.c | 12 ++++---
hw/i386/pc.c | 2 +-
hw/i386/pc_piix.c | 61 +++++++++++++++++++++++-------------
hw/scsi/esp.c | 20 ++++++------
hw/scsi/scsi-disk.c | 2 ++
linux-user/main.c | 1 +
qemu-img.c | 1 +
qemu-options.hx | 7 +++++
qmp.c | 1 +
scripts/create_config | 4 ---
tests/{Makefile => Makefile.include} | 0
vl.c | 1 +
13 files changed, 92 insertions(+), 46 deletions(-)
rename tests/{Makefile => Makefile.include} (100%)Signature · 1 line
2.5.5
Quoted 20 lines · Paolo Bonzini
The following changes since commit
76462405809d29bab65a3699686998ba124ab942:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160606-1' into staging (2016-06-06 17:02:42 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.gittags/for-upstreamfor you to fetch changes up to
379b954bf85e3d05e6323def1736d3bdea9b2a5c:vnc: list the 'to' parameter of '-vnc' in the qemu man page (2016-06-06 19:00:25 +0200)
----------------------------------------------------------------
* max-ram-below-4g improvement (Gerd)
* escc fix (xiaoqiang)
* ESP fix (Prasad)
* scsi-disk tweaks/fix (me)
* PKGVERSION improvement (Fam)
* -vnc man improvement (Robert)
Quoted 1 line
----------------------------------------------------------------
I'm afraid this fails to build on 32-bit ARM:
make: Entering directory `/home/petmay01/qemu/build/all-a32' /home/petmay01/qemu/tests/docker/Makefile.include:34: *** unterminated variable reference. Stop.
make: Leaving directory `/home/petmay01/qemu/build/all-a32'
No idea why that one's the only failure, because it doesn't seem architecturally related. The patch on list
'docker: Don't use eval trick on Makefile' might help, but I haven't tested that.
thanks
-- PMM
Quoted 30 lines · Peter Maydell
Quoted 20 lines · Paolo Bonzini
The following changes since commit
76462405809d29bab65a3699686998ba124ab942:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160606-1' into staging (2016-06-06 17:02:42 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.gittags/for-upstreamfor you to fetch changes up to
379b954bf85e3d05e6323def1736d3bdea9b2a5c:vnc: list the 'to' parameter of '-vnc' in the qemu man page (2016-06-06 19:00:25 +0200)
----------------------------------------------------------------
* max-ram-below-4g improvement (Gerd)
* escc fix (xiaoqiang)
* ESP fix (Prasad)
* scsi-disk tweaks/fix (me)
* PKGVERSION improvement (Fam)
* -vnc man improvement (Robert)Quoted 1 line
----------------------------------------------------------------
I'm afraid this fails to build on 32-bit ARM:
make: Entering directory `/home/petmay01/qemu/build/all-a32'
/home/petmay01/qemu/tests/docker/Makefile.include:34: *** unterminated variable reference. Stop.
make: Leaving directory `/home/petmay01/qemu/build/all-a32'
Quoted 4 lines
No idea why that one's the only failure, because it doesn't seem architecturally related. The patch on list
'docker: Don't use eval trick onMakefile' might help, but I haven't tested that.
...and I thought I'd retry as a test, but before I applied that patch I get a different failure mode instead:
In file included from /home/petmay01/qemu/qemu-img.c:25:0:
./qemu-version.h:1:0: error: "QEMU_PKGVERSION" redefined [-Werror]
#define QEMU_PKGVERSION " (v2.4.0-5677-g0f09cdf-dirty)" ^
In file included from /home/petmay01/qemu/include/qemu/osdep.h:30:0,
from /home/petmay01/qemu/qemu-img.c:24:
./config-host.h:31:0: note: this is the location of the previous definition
#define QEMU_PKGVERSION ""
^
Not sure what is going on there.
thanks
-- PMM
Quoted 44 lines · Peter Maydell
Quoted 30 lines · Peter Maydell
Quoted 20 lines · Paolo Bonzini
The following changes since commit
76462405809d29bab65a3699686998ba124ab942:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160606-1' into staging (2016-06-06 17:02:42 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.gittags/for-upstreamfor you to fetch changes up to
379b954bf85e3d05e6323def1736d3bdea9b2a5c:vnc: list the 'to' parameter of '-vnc' in the qemu man page (2016-06-06 19:00:25 +0200)
----------------------------------------------------------------
* max-ram-below-4g improvement (Gerd)
* escc fix (xiaoqiang)
* ESP fix (Prasad)
* scsi-disk tweaks/fix (me)
* PKGVERSION improvement (Fam)
* -vnc man improvement (Robert)Quoted 1 line
----------------------------------------------------------------
I'm afraid this fails to build on 32-bit ARM:
make: Entering directory `/home/petmay01/qemu/build/all-a32'
/home/petmay01/qemu/tests/docker/Makefile.include:34: *** unterminated variable reference. Stop.
make: Leaving directory `/home/petmay01/qemu/build/all-a32'Quoted 4 lines
No idea why that one's the only failure, because it doesn't seem architecturally related. The patch on list
'docker: Don't use eval trick onMakefile' might help, but I haven't tested that....and I thought I'd retry as a test, but before I applied that patch I get a different failure mode instead:
In file included from
/home/petmay01/qemu/qemu-img.c:25:0:
./qemu-version.h:1:0: error: "QEMU_PKGVERSION" redefined [-Werror]
#defineQEMU_PKGVERSION" (v2.4.0-5677-g0f09cdf-dirty)" ^
In file included from/home/petmay01/qemu/include/qemu/osdep.h:30:0,
Quoted 6 lines
from /home/petmay01/qemu/qemu-img.c:24:./config-host.h:31:0: note: this is the location of the previous definition
#defineQEMU_PKGVERSION""
^Not sure what is going on there.
Your config-host.h is not being regenerated for some reason. Just kill it and it should work.
Paolo
Quoted 14 lines · Paolo Bonzini
Quoted 13 lines · Peter Maydell
...and I thought I'd retry as a test, but before I applied that patch I get a different failure mode instead:
In file included from
/home/petmay01/qemu/qemu-img.c:25:0:
./qemu-version.h:1:0: error: "QEMU_PKGVERSION" redefined [-Werror]
#defineQEMU_PKGVERSION" (v2.4.0-5677-g0f09cdf-dirty)" ^
In file included from/home/petmay01/qemu/include/qemu/osdep.h:30:0,from /home/petmay01/qemu/qemu-img.c:24:./config-host.h:31:0: note: this is the location of the previous definition
#defineQEMU_PKGVERSION""
^
Quoted 4 lines
Quoted 1 line
Not sure what is going on there.
Your
config-host.his not being regenerated for some reason. Just kill it and it should work.
Worse, when I revert this merge attempt and do a build on the previously working master, it fails (all trees, all configs):
/home/pm215/qemu/qemu-img.c: In function ‘help’:/home/pm215/qemu/qemu-img.c:43:59: error: expected ‘,’ or ‘;’ before ‘QEMU_PKGVERSION’
#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \
^
/home/pm215/qemu/qemu-img.c:89:12: note: in expansion of macro
‘QEMU_IMG_VERSION’
QEMU_IMG_VERSION
^
/home/pm215/qemu/qemu-img.c: In function ‘main’:
/home/pm215/qemu/qemu-img.c:43:59: error: expected ‘)’ before ‘QEMU_PKGVERSION’
#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \
^
/home/pm215/qemu/qemu-img.c:3520:16: note: in expansion of macro
‘QEMU_IMG_VERSION’
printf(QEMU_IMG_VERSION);
^The change is badly broken somehow.
thanks
-- PMM
Quoted 21 lines · Peter Maydell
Worse, when I revert this merge attempt and do a build on the previously working master, it fails (all trees, all configs):
/home/pm215/qemu/qemu-img.c: In function ‘help’:/home/pm215/qemu/qemu-img.c:43:59: error: expected ‘,’ or ‘;’ before ‘QEMU_PKGVERSION’#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ^ /home/pm215/qemu/qemu-img.c:89:12: note: in expansion of macro ‘QEMU_IMG_VERSION’ QEMU_IMG_VERSION ^ /home/pm215/qemu/qemu-img.c: In function ‘main’: /home/pm215/qemu/qemu-img.c:43:59: error: expected ‘)’ before ‘QEMU_PKGVERSION’ #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ^ /home/pm215/qemu/qemu-img.c:3520:16: note: in expansion of macro ‘QEMU_IMG_VERSION’ printf(QEMU_IMG_VERSION); ^
Quoted 1 line
The change is badly broken somehow.
This is the same issue with PKGVERSION being defined twice (before) and nowhere (now), instead of once. And I suspect this is a long-standing issue where config-host.mak and config-host.h are not being rebuilt correctly.
However, if you force-rebuild config-host.h it should work.
Paolo
Quoted 22 lines · Paolo Bonzini
Quoted 21 lines · Peter Maydell
Worse, when I revert this merge attempt and do a build on the previously working master, it fails (all trees, all configs):
/home/pm215/qemu/qemu-img.c: In function ‘help’:/home/pm215/qemu/qemu-img.c:43:59: error: expected ‘,’ or ‘;’ before ‘QEMU_PKGVERSION’#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ^ /home/pm215/qemu/qemu-img.c:89:12: note: in expansion of macro ‘QEMU_IMG_VERSION’ QEMU_IMG_VERSION ^ /home/pm215/qemu/qemu-img.c: In function ‘main’: /home/pm215/qemu/qemu-img.c:43:59: error: expected ‘)’ before ‘QEMU_PKGVERSION’ #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ^ /home/pm215/qemu/qemu-img.c:3520:16: note: in expansion of macro ‘QEMU_IMG_VERSION’ printf(QEMU_IMG_VERSION); ^
Quoted 8 lines
Quoted 1 line
The change is badly broken somehow.
This is the same issue with PKGVERSION being defined twice (before) and nowhere (now), instead of once. And I suspect this is a long-standing issue where config-host.mak and
config-host.hare not being rebuilt correctly.However, if you force-rebuild
config-host.hit should work.
It didn't. I've just spent a bunch of time manually going around and forcing reconfigures in all my build trees to unwedge them again :-(
thanks
-- PMM
Quoted 30 lines · Peter Maydell
Quoted 29 lines · Paolo Bonzini
Quoted 21 lines · Peter Maydell
Worse, when I revert this merge attempt and do a build on the previously working master, it fails (all trees, all configs):
/home/pm215/qemu/qemu-img.c: In function ‘help’:/home/pm215/qemu/qemu-img.c:43:59: error: expected ‘,’ or ‘;’ before ‘QEMU_PKGVERSION’#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ^ /home/pm215/qemu/qemu-img.c:89:12: note: in expansion of macro ‘QEMU_IMG_VERSION’ QEMU_IMG_VERSION ^ /home/pm215/qemu/qemu-img.c: In function ‘main’: /home/pm215/qemu/qemu-img.c:43:59: error: expected ‘)’ before ‘QEMU_PKGVERSION’ #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ^ /home/pm215/qemu/qemu-img.c:3520:16: note: in expansion of macro ‘QEMU_IMG_VERSION’ printf(QEMU_IMG_VERSION); ^Quoted 1 line
The change is badly broken somehow.
This is the same issue with PKGVERSION being defined twice (before) and nowhere (now), instead of once. And I suspect this is a long-standing issue where config-host.mak and
config-host.hare not being rebuilt correctly.
Quoted 4 lines
Quoted 1 line
However, if you force-rebuild
config-host.hit should work.It didn't. I've just spent a bunch of time manually going around and forcing reconfigures in all my build trees to unwedge them again :-(
This helped here:
Makefile +1 -1
@@ -168,8 +168,8 @@ endif all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules config-host.h: config-host.h-timestamp -config-host.h-timestamp: config-host.mak +config-host.h-timestamp: config-host.mak $(SRC_PATH)/scripts/create_config qemu-options.def: $(SRC_PATH)/qemu-options.hx $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
Paolo