qdev: Implement (variable length) array properties
Add support for declaring array properties for qdev devices.These work by defining an initial static property 'len-arrayname'which the user of the device should set to the desired sizeof the array. When this property is set, memory is allocated...
hw/arm_sysctl: Implement SYS_CFG_VOLT
Implement the SYS_CFG_VOLT registers which return the voltageof various supplies on motherboard and daughterboard. SinceQEMU implements a perfectly stable power supply these registersalways return a constant value. The number and value of the...
hw/vexpress: Pass voltage sensor properties to sysctl device
Pass voltage sensor properties to the sysctl device. Sincethese are daughterboard specific, we specify them via theVEDBoardInfo structure.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
hw/vexpress: Pass proc_id via VEDBoardInfo
Pass the daughterboard-specific proc_id property to the code thatcreates the sysctl device via the VEDBoardInfo struct, rather thanby having the daughterboard init function write to a uint32_t*argument. This is a cleaner way to pass the info around, and...
hw/arm_sysctl: Handle SYS_CFGCTRL in a more structured way
The SYS_CFGCTRL register consists of separate fieldsfor DCC, function, site, position and device, as wellas a read/write bit. Refactor the code handling SYS_CFGCTRLwrites to make it easier to add support for functions...
hw/arm_sysctl: Implement SYS_CFG_MUXFPGA writes as a no-op
SYS_CFG_MUXFPGA allows the guest to select whether thevideo output should come from the motherboard's LCDcontroller or the daughterboard's one. Since QEMU doesn'tcurrently support selecting the video output like this,...
hw/arm_sysctl: Implement SYS_CFG_DVIMODE as a no-op
SYS_CFG_DVIMODE allows the guest to select whether theoutput DVI signal is VGA, SVGA, XGA, SGA or UXGA. Sincethis makes no difference to QEMU, implement writes as ano-op so Linux doesn't complain.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm_sysctl: Convert from qdev init to instance_init
Convert this device from old-style qdev init to an instance_initfunction. We don't need a realize function yet, though.
Merge remote-tracking branch 'stefanha/block' into staging
Merge remote-tracking branch 'cohuck/virtio-ccw-upstr' into staging
View all revisions | View revisions
Also available in: Atom