mbox series

[v2,0/2] hw: vmmouse: use link property instead of DEFINE_PROP_PTR

Message ID 1543312923-3074-1-git-send-email-liq3ea@gmail.com (mailing list archive)
Headers show
Series hw: vmmouse: use link property instead of DEFINE_PROP_PTR | expand

Message

Li Qiang Nov. 27, 2018, 10:02 a.m. UTC
According https://wiki.qemu.org/Contribute/BiteSizedTasks
the 'DEFINE_PROP_PTR' should be replaced by QOM link property.
The first patch replace constant strings with TYPE_XXXX and move some
definition to pc.h header file so that the second patch can work.

Change since v1: fix some issues per Markus' review

Li Qiang (2):
  hw: pc: use TYPE_XXX instead of constant strings
  hw: vmmouse: drop DEFINE_PROP_PTR()

 hw/i386/pc.c         |  9 +++++----
 hw/i386/vmmouse.c    | 18 +++++++++++-------
 include/hw/i386/pc.h |  3 +++
 3 files changed, 19 insertions(+), 11 deletions(-)