diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-12-19 11:47:00 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-01-27 14:46:17 +0200 |
commit | 6d848641b7a4da92840fb2f5c240d1668f5a9281 (patch) | |
tree | ce345d393326dc06dd492704311356a7cadb490c /qemu-options-wrapper.h | |
parent | e909c16d924c0dbb852de3c0dd3d9cb5213b90c5 (diff) | |
download | hqemu-6d848641b7a4da92840fb2f5c240d1668f5a9281.zip hqemu-6d848641b7a4da92840fb2f5c240d1668f5a9281.tar.gz |
acpi: build_append_nameseg(): add padding if necessary
According to ACPI spec NameSeg shorter than 4 characters
must be padded up to 4 characters with "_" symbol.
ACPI 5.0: 20.2.2 "Name Objects Encoding"
Do it in build_append_nameseg() so that caller shouldn't know
or care about it.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-options-wrapper.h')
0 files changed, 0 insertions, 0 deletions