]> git.proxmox.com Git - qemu.git/commit
qdev: add bit property type
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 10 Jan 2010 11:52:41 +0000 (13:52 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Jan 2010 19:40:59 +0000 (13:40 -0600)
commitd2364ee424ebf9180afaf21128a71da55321ad00
tree519adc359962cf6c269b291a054cbaf2916deb73
parentc0ced0f3a76c9f3ad680141f751dd1a20c91bbbf
qdev: add bit property type

This adds "bit" property type, which is a boolean stored in a 32 bit
integer field, with legal values on and off.  Will be used by virtio for
feature bits.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-properties.c
hw/qdev.h