ide: Add handler to ide_cmd_table
As a preparation for moving all IDE commands into their own functionlike in the ATAPI code, introduce a 'handler' callback to ide_cmd_table.
Commands using this new infrastructure get some things handledautomatically:...
ide: Convert WIN_DSM to ide_cmd_table handler
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
ide: Convert WIN_IDENTIFY to ide_cmd_table handler
Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging
Merge remote-tracking branch 'kiszka/queues/slirp' into staging
Message-id: cover.1371638848.git.jan.kiszka@siemens.com...
dma: eliminate DMAContext
The DMAContext is a simple pointer to an AddressSpace that is now alwaysalready available. Make everyone hold the address space directly,and clean up the DMA API to use the AddressSpace directly.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
memory: give name to every AddressSpace
The "info mtree" command in QEMU console prints only "memory" and "I/O" address spaces while there are actually a lot more other AddressSpacestructs created by PCI and VIO devices. Those devices do not normallyhave names and therefore not present in "info mtree" output....
memory: Fix comment typo
s/ajacent/adjacent
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory: as_update_topology_pass: Improve comments
These comments were a little difficult to read. First one hadincorrect parenthesis. The part about attributes changing isreally applicable to the region being 'in both' rather than 'innew'
Second comment has an obscure parenthetic about 'Logging may have...
memory: render_memory_region: factor out fr constant setters
These 4 replicated lines set properties of fr that are constant overthe course of the function. Factor out their repeated setting (and alsoguards against them being set multiple times in the loop below)....
View all revisions | View revisions
Also available in: Atom