qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH, RFC 0/4] monitor device info infrastructure


From: Blue Swirl
Subject: [Qemu-devel] [PATCH, RFC 0/4] monitor device info infrastructure
Date: Wed, 12 May 2010 23:56:28 +0300

Hi all,

I finally refreshed some of my monitor patches. PCI and HPET patches
(attached, they don't apply anymore) need more work because of the new
monitor design.

The patches provide a method for devices to register new monitor
commands. This fixes some design problems, like useless
pic_info/irq_info functions for most architectures.

I think automation via qdev field was requested the last time. I added
something like this, though it doesn't fit the cases where several
functions need to be registered.

Comments?

Blue Swirl (4):
  monitor: add device info infrastructure
  qdev: automatically register device info
  x86/Sparc32: use device info for pic and irq
  PPC: use device info for CPU statistics

 cpu-all.h               |    3 --
 hw/an5206.c             |    9 ------
 hw/arm_pic.c            |   10 ------
 hw/cris_pic_cpu.c       |    5 ---
 hw/i8259.c              |   50 ++++++++++++++++++++-----------
 hw/microblaze_pic_cpu.c |    5 ---
 hw/pc.h                 |    2 -
 hw/qdev.c               |    3 ++
 hw/qdev.h               |    3 ++
 hw/shix.c               |   10 ------
 hw/slavio_intctl.c      |   26 ++++++++++------
 hw/sun4c_intctl.c       |   16 +++++++++-
 hw/sun4m.c              |   15 +---------
 hw/sun4m.h              |    8 -----
 hw/sun4u.c              |    8 -----
 monitor.c               |   74 ++++++++++++++++++++++++++---------------------
 monitor.h               |   10 ++++++
 qemu-monitor.hx         |   19 ++++++++----
 target-ppc/cpu.h        |    2 +
 target-ppc/helper.c     |    4 ++
 target-ppc/translate.c  |   45 +++++++++++++++++++---------
 21 files changed, 169 insertions(+), 158 deletions(-)

Attachment: 0001-PCI-use-device-info.patch
Description: Text Data

Attachment: 0002-x86-use-device-info-for-hpet.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]