4917cf4432
cpu: Replace cpu_single_env with CPUState current_cpu
...
Move it to qom/cpu.h.
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-07-09 21:20:28 +02:00
3c16154210
hw/m*: pass owner to memory_region_init* functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:48 +02:00
2c9b15cab1
memory: add owner argument to initialization functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:44 +02:00
d67f679d99
vmport: Disentangle read handler type from portio
...
In case the latter may vanish one day, make sure the vmport read handler
type will remain unaffected. This is also conceptually cleaner.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:44 +02:00
cb446ecab7
kvm: Change cpu_synchronize_state() argument to CPUState
...
Change Monitor::mon_cpu to CPUState as well.
Reviewed-by: liguang <lig.fnst@cn.fujitsu.com >
Acked-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-06-28 13:25:12 +02:00
db895a1e6a
isa: Use realizefn for ISADevice
...
Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-06-07 12:14:45 +02:00
f02317ad4e
vmport: QOM'ify
...
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Drop reserved underscore from struct name while at it.
Signed-off-by: Andreas Färber <afaerber@suse.de >
Signed-off-by: Andreas Färber <afaerber@suse.de >
Message-id: 1367093935-29091-20-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2013-04-29 08:27:50 -05:00
e28bee8ee6
hw: move other devices to hw/misc/, configure with default-configs/
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:16 +02:00