[Qemu-devel] [PATCH 0/2] hw: vmmouse: use link property instead of DEFINE_PROP_PTR

Li Qiang posted 2 patches 6 years, 11 months ago
Test asan passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1542868372-2602-1-git-send-email-liq3ea@gmail.com
There is a newer version of this series
hw/i386/pc.c         | 11 ++++-------
hw/i386/vmmouse.c    | 17 +++++++++++------
hw/sparc64/sun4u.c   |  2 +-
include/hw/i386/pc.h |  7 +++++++
4 files changed, 23 insertions(+), 14 deletions(-)
[Qemu-devel] [PATCH 0/2] hw: vmmouse: use link property instead of DEFINE_PROP_PTR
Posted by Li Qiang 6 years, 11 months ago
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.

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

 hw/i386/pc.c         | 11 ++++-------
 hw/i386/vmmouse.c    | 17 +++++++++++------
 hw/sparc64/sun4u.c   |  2 +-
 include/hw/i386/pc.h |  7 +++++++
 4 files changed, 23 insertions(+), 14 deletions(-)

-- 
2.11.0