]> git.proxmox.com Git - mirror_qemu.git/commit
aml-build: append opcodes using build_append_byte
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Mar 2015 15:19:15 +0000 (16:19 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Mar 2015 15:09:59 +0000 (16:09 +0100)
commitaea10cdef2fb5c3bb8af598609ce19f725bf127f
tree5d267128e8ef57feebcf508140e3102170768b14
parent7d433b0d85eba3d5083be6b74fd111f6de4ee373
aml-build: append opcodes using build_append_byte

Opcodes are raw bytes, they shouldn't be added
using build_append_int. This only happens to work
with 0 and 1 opcodes.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/acpi/aml-build.c