mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
Bugfixes. # gpg: Signature made Fri 05 Jul 2019 21:21:52 BST # gpg: using RSA key BFFBD25F78C7AE83 # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * remotes/bonzini/tags/for-upstream: ioapic: use irq number instead of vector in ioapic_eoi_broadcast hw/i386: Fix linker error when ISAPC is disabled Makefile: generate header file with the list of devices enabled target/i386: kvm: Fix when nested state is needed for migration minikconf: do not include variables from MINIKCONF_ARGS in config-all-devices.mak target/i386: fix feature check in hyperv-stub.c ioapic: clear irq_eoi when updating the ioapic redirect table entry intel_iommu: Fix unexpected unmaps during global unmap intel_iommu: Fix incorrect "end" for vtd_address_space_unmap i386/kvm: Fix build with -m32 checkpatch: do not warn for multiline parenthesized returned value pc: fix possible NULL pointer dereference in pc_machine_get_device_memory_region_size() Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -2296,7 +2296,8 @@ sub process {
|
||||
$value =~ s/\([^\(\)]*\)/1/) {
|
||||
}
|
||||
#print "value<$value>\n";
|
||||
if ($value =~ /^\s*(?:$Ident|-?$Constant)\s*$/) {
|
||||
if ($value =~ /^\s*(?:$Ident|-?$Constant)\s*$/ &&
|
||||
$line =~ /;$/) {
|
||||
ERROR("return is not a function, parentheses are not required\n" . $herecurr);
|
||||
|
||||
} elsif ($spacing !~ /\s+/) {
|
||||
|
||||
@@ -58,6 +58,8 @@ case $line in
|
||||
name=${line%=*}
|
||||
echo "#define $name 1"
|
||||
;;
|
||||
CONFIG_*=n) # configuration
|
||||
;;
|
||||
CONFIG_*=*) # configuration
|
||||
name=${line%=*}
|
||||
value=${line#*=}
|
||||
|
||||
@@ -688,11 +688,13 @@ if __name__ == '__main__':
|
||||
|
||||
data = KconfigData(mode)
|
||||
parser = KconfigParser(data)
|
||||
external_vars = set()
|
||||
for arg in argv[3:]:
|
||||
m = re.match(r'^(CONFIG_[A-Z0-9_]+)=([yn]?)$', arg)
|
||||
if m is not None:
|
||||
name, value = m.groups()
|
||||
parser.do_assignment(name, value == 'y')
|
||||
external_vars.add(name[7:])
|
||||
else:
|
||||
fp = open(arg, 'r')
|
||||
parser.parse_file(fp)
|
||||
@@ -700,7 +702,8 @@ if __name__ == '__main__':
|
||||
|
||||
config = data.compute_config()
|
||||
for key in sorted(config.keys()):
|
||||
print ('CONFIG_%s=%s' % (key, ('y' if config[key] else 'n')))
|
||||
if key not in external_vars:
|
||||
print ('CONFIG_%s=%s' % (key, ('y' if config[key] else 'n')))
|
||||
|
||||
deps = open(argv[2], 'w')
|
||||
for fname in data.previously_included:
|
||||
|
||||
Reference in New Issue
Block a user