qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] qdev: Display warning about unused -global
@ 2014-05-05 18:03 Don Slutz
  2014-05-05 18:03 ` [Qemu-devel] [PATCH v4 1/2] " Don Slutz
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Don Slutz @ 2014-05-05 18:03 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Andreas Färber, Don Slutz, Michael S. Tsirkin

I might have named this v2, but since this is a split out of:

[PATCH v3 2/4] GlobalProperty: Display warning about unused -global

From:

[PATCH v3 0/4] Add max-ram-below-4g (was Add pci_hole_min_size machine option)

I feel v4 is better.

Changes v3 to v4:
  Add a new patch to add a check in test-qdev-global-props.c
  Changed qdev_prop_check_global() to return state.  Only used
  by unit test.
  Change to use error_report().

  Andreas Färber:
    Added hotpluggable checking.
    Renamed to qdev:

  Did not do:
    Add a separate linked list:
      This looked to me to increase the complexity without any benefit.
    Adjust where vl.c calls qdev_prop_check_global().
      Since this is just before migration starts, I still think this
      is the best place.  I did a quick look into adding some test
      that checks that this is still working, but only found qemu-iotest
      doing the QEMU output check for expected output.  It did not
      make sense to me to add a global property check there.

  Paolo Bonzini:
    Added a comment before definition of the not_used field.



Don Slutz (2):
  qdev: Display warning about unused -global
  qdev: Add test of qdev_prop_check_global

 hw/core/qdev-properties-system.c | 16 ++++++++++++++++
 hw/core/qdev-properties.c        | 18 ++++++++++++++++++
 include/hw/qdev-core.h           |  8 ++++++++
 include/hw/qdev-properties.h     |  1 +
 tests/test-qdev-global-props.c   |  4 ++++
 vl.c                             |  2 ++
 6 files changed, 49 insertions(+)

-- 
1.8.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-06 19:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-05 18:03 [Qemu-devel] [PATCH v4 0/2] qdev: Display warning about unused -global Don Slutz
2014-05-05 18:03 ` [Qemu-devel] [PATCH v4 1/2] " Don Slutz
2014-06-06  7:09   ` [Qemu-devel] Should not abort on -global <nonexistant dev prop> (was: [PATCH v4 1/2] qdev: Display warning about unused -global) Markus Armbruster
2014-06-06  8:01     ` [Qemu-devel] Should not abort on -global <nonexistant dev prop> Paolo Bonzini
2014-06-06 19:11       ` Eduardo Habkost
2014-05-05 18:03 ` [Qemu-devel] [PATCH v4 2/2] qdev: Add test of qdev_prop_check_global Don Slutz
2014-06-05 16:06 ` [Qemu-devel] [ping PATCH v4 0/2] qdev: Display warning about unused -global Don Slutz
2014-06-05 16:21 ` [Qemu-devel] [PATCH " Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).