qemu-e2k/hw
Eric Blake 3381466dc9 misc: Avoid UTF-8 in error messages
While most developers are now using UTF-8 environments, it's
harder to guarantee that error messages will be output to
a multibyte locale. Rather than risking error messages that
get corrupted into mojibake when the user runs qemu in a
non-multibyte locale, let's stick to straight ASCII error
messages, rather than assuming that our use of UTF-8 in source
code string constants will work unchanged in other locales.

Found with:
$ LC_ALL=C git grep -l $'".*[\x80-\xff].*"' origin -- '**/*.[ch]' | cat
origin:hw/misc/tmp105.c
origin:hw/misc/tmp421.c

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20181120203628.2367003-1-eblake@redhat.com>
[lv: added command line to find non ASCII characters]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2018-12-11 18:28:46 +01:00
..
9pfs 9p: fix QEMU crash when renaming files 2018-11-23 13:28:03 +01:00
acpi hw/acpi/nvdimm: Don't take address of fields in packed structs 2018-11-12 15:14:06 +00:00
adc
alpha
arm hw/arm/aspeed: Fix build issue with clang 3.4 2018-11-28 13:51:41 +00:00
audio audio/hda: fix guest triggerable assert 2018-11-27 07:47:57 +01:00
block nvme: Fix spurious interrupts 2018-11-27 12:59:00 +01:00
bt
char hw/arm/stm32f205: Fix the UART and Timer region size 2018-11-19 15:29:08 +00:00
core hw: set_netdev: remove useless code 2018-12-11 18:28:46 +01:00
cpu
cris
display vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
dma
gpio
hppa
hyperv hw/hyperv: fix NULL dereference with pure-kvm SynIC 2018-11-26 14:14:38 -02:00
i2c i2c: pm_smbus: check smb_index before block transfer write 2018-12-06 15:51:57 +00:00
i386 hw/i386: add pc-i440fx-3.1 & pc-q35-3.1 2018-11-20 11:42:32 -02:00
ide
input ps2kbd: default to scan enabled after reset 2018-11-27 07:47:50 +01:00
intc vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
ipack
ipmi
isa
lm32 milkymist: Check for failure trying to load BIOS image 2018-11-06 11:32:14 +00:00
m68k
mem nvdimm: set non-volatile on the memory region 2018-11-06 21:35:05 +01:00
microblaze
mips
misc misc: Avoid UTF-8 in error messages 2018-12-11 18:28:46 +01:00
moxie
net net: cadence_gem: Remove incorrect assert() 2018-11-26 13:41:42 +00:00
nios2
nvram vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
openrisc
pci vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
pci-bridge hw/pci-bridge/ioh3420: Remove unuseful header 2018-11-05 13:24:02 -05:00
pci-host ppc patch queue 2018-11-08 2018-11-08 14:42:37 +00:00
pcmcia
ppc ppc/spapr_caps: Add SPAPR_CAP_NESTED_KVM_HV 2018-11-08 13:08:35 +11:00
rdma
riscv hw/riscv/virt: Free the test device tree node name 2018-11-13 15:12:13 -08:00
s390x s390x/pci: properly fail if the zPCI device cannot be created 2018-11-13 16:46:55 +01:00
scsi vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
sd
sh4
smbios
sparc
sparc64
ssi
timer vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
tpm tpm: use loop iterator to set sts data field 2018-11-14 15:47:24 -05:00
tricore
unicore32
usb usb: mtp fixes. 2018-12-03 19:57:59 +00:00
vfio s390x/vfio-ap: report correct error 2018-11-05 09:55:01 +01:00
virtio virtio: pass argument by value for virtqueue_map_iovec() 2018-12-11 18:28:46 +01:00
watchdog
xen xen: Use the PCI_DEVICE macro 2018-10-26 17:17:32 +02:00
xenpv
xtensa target/xtensa: xtfpga: provide default memory sizes 2018-11-21 10:53:21 -08:00
Makefile.objs