qemu-e2k/include
Stefan Hajnoczi 39f72ef94b qom: Add check() argument to object_property_add_link()
There are currently three types of object_property_add_link() callers:

1. The link property may be set at any time.
2. The link property of a DeviceState instance may only be set before
   realize.
3. The link property may never be set, it is read-only.

Something similar can already be achieved with
object_property_add_str()'s set() argument.  Follow its example and add
a check() argument to object_property_add_link().

Also provide default check() functions for case #1 and #2.  Case #3 is
covered by passing a NULL function pointer.

Cc: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: Anthony Liguori <aliguori@amazon.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
[AF: Tweaked documentation comment]
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-03-19 22:23:13 +01:00
..
block block: Add error handling to bdrv_invalidate_cache() 2014-03-19 09:39:41 +01:00
disas disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
exec exec-all.h: Increase MAX_OP_PER_INSTR for ARM A64 decoder 2014-03-17 16:31:51 +00:00
fpu softfloat: export squash_input_denormal functions 2014-03-17 16:31:51 +00:00
hw qom: Add check() argument to object_property_add_link() 2014-03-19 22:23:13 +01:00
migration scsi: Fix migration of scsi sense data 2014-03-14 10:06:55 +01:00
monitor quorum: Add quorum mechanism. 2014-02-21 22:29:50 +01:00
net net: remove implicit peer from offload API 2014-02-25 14:31:05 +01:00
qapi qapi script: do not add "_" for every capitalized char in enum 2014-03-11 09:07:42 -04:00
qemu Block pull request 2014-03-13 15:33:04 +00:00
qom qom: Add check() argument to object_property_add_link() 2014-03-19 22:23:13 +01:00
sysemu Fix vga_interface_type for command line argument '-device VGA' 2014-03-13 20:53:19 +01:00
ui gtk: Allow to activate grab-on-hover from the command line 2014-03-17 14:33:55 +01:00
config.h
elf.h tcg-s390: Use qemu_getauxval in query_facilities 2013-11-30 07:45:30 +13:00
glib-compat.h
qemu-common.h Block patches 2014-02-25 10:50:11 +00:00
qemu-io.h qemu-io: Fix warnings from static code analysis 2014-03-13 14:42:24 +01:00
trace.h