aml-build: append opcodes using build_append_byte
commitaea10cdef2fb5c3bb8af598609ce19f725bf127f
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Mar 2015 15:19:15 +0000 (8 16:19 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Mar 2015 15:09:59 +0000 (10 16:09 +0100)
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