All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/8] bus-less device hotplug
@ 2014-03-20 15:01 Igor Mammedov
  2014-03-20 15:01 ` [Qemu-devel] [RFC 1/8] vl.c: extend -m option to support options for memory hotplug Igor Mammedov
                   ` (7 more replies)
  0 siblings, 8 replies; 26+ messages in thread
From: Igor Mammedov @ 2014-03-20 15:01 UTC (permalink / raw)
  To: qemu-devel
  Cc: marcel.a, mst, vasilis.liaskovitis, aliguori, pbonzini, afaerber

This series is a excerpt from memory hotplug series, posted
for getting an opinion on hotplug implementation for bus-less
devices using link<>s as a means to provide connection
between hotplugged device and hotplug controller that performs
board specific actions that hot-added device ishould not be aware of.

Patches implementing link<> based hotplug are:
  qdev: link based hotplug
  pc: preallocate hotplug links for DIMMDevices
  ...
  pc: make PC_MACHINE memory hotplug controller
the rest is just an environment to make above work.

compile-able WIP tree is available at:
https://github.com/imammedo/qemu/commits/memory-hotplug-v8

way to test:
 - run:
x86_64-softmmu/qemu-system-x86_64 -monitor stdio -object memory-ram,id=foo,size=1G -m 1G,slots=1,maxmem=2G
 - in monitor execute:
(qemu) device_add dimm,id=dimm1,memdev=foo
(qemu) info mtree

there should be "foo" memory region under "hotplug-memory" container.


Igor Mammedov (7):
  vl.c: extend -m option to support options for memory hotplug
  make machine_class_init() accessible outside of vl.c
  pc: prepare PC for custom machine state
  qdev: link based hotplug
  pc: preallocate hotplug links for DIMMDevices
  pc: initialize memory hotplug address space
  pc: make PC_MACHINE memory hotplug controller

Vasilis Liaskovitis (1):
  dimm: implement dimm device abstraction

 default-configs/i386-softmmu.mak   |    1 +
 default-configs/x86_64-softmmu.mak |    1 +
 hw/Makefile.objs                   |    1 +
 hw/core/hotplug.c                  |   30 +++++++++++
 hw/core/machine.c                  |    7 +++
 hw/core/qdev.c                     |   15 +++++
 hw/i386/pc.c                       |   95 +++++++++++++++++++++++++++++++++-
 hw/i386/pc_piix.c                  |   34 ++++++------
 hw/i386/pc_q35.c                   |   10 ++--
 hw/mem/Makefile.objs               |    1 +
 hw/mem/dimm.c                      |  100 ++++++++++++++++++++++++++++++++++++
 include/hw/boards.h                |    4 ++
 include/hw/hotplug.h               |    2 +
 include/hw/i386/pc.h               |   23 ++++++++
 include/hw/mem/dimm.h              |   58 +++++++++++++++++++++
 include/hw/qdev-core.h             |    6 ++
 qemu-options.hx                    |    9 ++-
 vl.c                               |   58 ++++++++++++++++++---
 18 files changed, 421 insertions(+), 34 deletions(-)
 create mode 100644 hw/mem/Makefile.objs
 create mode 100644 hw/mem/dimm.c
 create mode 100644 include/hw/mem/dimm.h

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

end of thread, other threads:[~2014-03-24 13:19 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 15:01 [Qemu-devel] [RFC 0/8] bus-less device hotplug Igor Mammedov
2014-03-20 15:01 ` [Qemu-devel] [RFC 1/8] vl.c: extend -m option to support options for memory hotplug Igor Mammedov
2014-03-20 15:01 ` [Qemu-devel] [RFC 2/8] make machine_class_init() accessible outside of vl.c Igor Mammedov
2014-03-23 15:27   ` Marcel Apfelbaum
2014-03-23 16:22     ` Marcel Apfelbaum
2014-03-20 15:01 ` [Qemu-devel] [RFC 3/8] pc: prepare PC for custom machine state Igor Mammedov
2014-03-23 15:13   ` Marcel Apfelbaum
2014-03-24 10:34     ` Igor Mammedov
2014-03-24 12:28       ` Marcel Apfelbaum
2014-03-24 10:52     ` Andreas Färber
2014-03-24 11:20       ` Michael S. Tsirkin
2014-03-24 11:57         ` Andreas Färber
2014-03-24 12:13       ` Marcel Apfelbaum
2014-03-20 15:01 ` [Qemu-devel] [RFC 4/8] qdev: link based hotplug Igor Mammedov
2014-03-20 16:12   ` Paolo Bonzini
2014-03-20 16:20     ` Igor Mammedov
2014-03-20 18:03       ` Paolo Bonzini
2014-03-21 10:35         ` Igor Mammedov
2014-03-21 11:45           ` Paolo Bonzini
2014-03-24  9:10             ` Igor Mammedov
2014-03-24 12:20           ` Andreas Färber
2014-03-24 13:12             ` Michael S. Tsirkin
2014-03-20 15:01 ` [Qemu-devel] [RFC 5/8] dimm: implement dimm device abstraction Igor Mammedov
2014-03-20 15:01 ` [Qemu-devel] [RFC 6/8] pc: preallocate hotplug links for DIMMDevices Igor Mammedov
2014-03-20 15:01 ` [Qemu-devel] [RFC 7/8] pc: initialize memory hotplug address space Igor Mammedov
2014-03-20 15:01 ` [Qemu-devel] [RFC 8/8] pc: make PC_MACHINE memory hotplug controller Igor Mammedov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.