qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] vmmouse: convert qdev pointer property to QOM link relationship
@ 2018-02-04  7:28 Zihan Yang
  2018-02-04  7:28 ` [Qemu-devel] [PATCH 1/2] hw/input/pckdb: put TYPE_I8042 into a single header file Zihan Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Zihan Yang @ 2018-02-04  7:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Zihan Yang

The ps2_mouse property of vmmouse is still pointer type which
is defined by DEFINE_PROP_PTR. But qdev pointer property should
be avoided according to qdev-properties.h. Convert it to 
QOM link relationship.

It involves two patches because it requires the TYPE_I8042
macro which is defined in another file. The first patch put
this macro into a single header file so that the macro can
be used elsewhere. The second patch does the actual work.

Zihan Yang (2):
  hw/input/pckdb: put TYPE_I8042 into a single header file
  vmmouse: change qdev pointer property to qom link

 hw/i386/pc.c      |  2 +-
 hw/i386/vmmouse.c | 19 ++++++++++++-------
 hw/input/pckbd.c  |  2 +-
 hw/input/pckbd.h  |  6 ++++++
 4 files changed, 20 insertions(+), 9 deletions(-)
 create mode 100644 hw/input/pckbd.h

-- 
2.7.4

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

end of thread, other threads:[~2018-03-08  0:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-04  7:28 [Qemu-devel] [PATCH 0/2] vmmouse: convert qdev pointer property to QOM link relationship Zihan Yang
2018-02-04  7:28 ` [Qemu-devel] [PATCH 1/2] hw/input/pckdb: put TYPE_I8042 into a single header file Zihan Yang
2018-02-04  7:28 ` [Qemu-devel] [PATCH 2/2] vmmouse: change qdev pointer property to qom link Zihan Yang
2018-03-07 16:55 ` [Qemu-devel] [PATCH 0/2] vmmouse: convert qdev pointer property to QOM link relationship Zihan Yang
2018-03-07 20:27   ` Philippe Mathieu-Daudé
2018-03-08  0:31     ` Zihan Yang

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).