History | View | Annotate | Download (76.2 kB)
qxl: clear irq on reset
Without this we occasionally trigger an assert athw/pci/pci.c:pcibus_reset that asserts the irq_count is zero on reset.
This has become a problem with the new drm driver for linux, since doinga reboot from console causes a race between console updates that set the...
hw/display/qxl: fix signed to unsigned comparison
Several small signedness / overflow corrections to qxl_create_guest_primary:1. use 64 bit unsigned for size to avoid overflow possible from two 32bit multiplicants.2. correct sign for requested_height3. add a more verbose error message when setting guest bug state (which...
spice: stop server for qxl hard reset
Hard reset can happen at any time. We should be able to put qxl into aknown-good state no matter what. Stop spice server thread for reset soit can't be confused by fetching stale commands lingering around in therings while we reset is ongoing....
qxl: replace pipe signaling with bottom half
qxl creates a pipe, then writes something to it to wake up the iothreadfrom the spice server thread to raise an irq. These days qemu bottomhalves can be scheduled from threads and signals, so there is no reason...
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
pci, pc, acpi fixes, enhancements
This includes some pretty big changes:- pci master abort support by Marcel- pci IRQ API rework by Marcel- acpi generation support by myself
Everything has gone through several revisions, latest versions have been on...
Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging
vga: Mark relevant portio lists regions as coalesced MMIO flushing
This allows to remove the explicit qemu_flush_coalesced_mmio_buffercalls.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
spice: fix multihead support
This patch fixes spice display initialization to handlemultihead properly.
spice-core now keeps track of which QemuConsole has a spicedisplay channel attached to it and which has not. It alsomanages display channel ids....
spice: replace use of deprecated API
hose API are deprecated since 0.11, and qemu depends on 0.12 already.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw: set interrupts using pci irq wrappers
pci_set_irq and the other pci irq wrappers usePCI_INTERRUPT_PIN config register to compute deviceINTx pin to assert/deassert.
An irq is allocated using pci_allocate_irq wrapperonly if is needed by non pci devices....
qxl: define qxl operating on 4k pages
qxl: simplify qxl_rom_size
Nowdays rom size is fixed at 8192 for live migration compat reasons.So we can ditch the pointless math trying to calculate the size needed.Also make the size sanity check fail at compile time not runtime.
qxl: simplify page dirtying
No need to do target page size calculations here,memory_region_set_dirty will care for us.
qxl: trace io port name
aio / timers: Switch entire codebase to the new timer API
This is an autogenerated patch using scripts/switch-timer-api.
Switch the entire code base to using the new timer API.
Note this patch may introduce some line length issues.
Signed-off-by: Alex Bligh <alex@alex.org.uk>...
devices: Associate devices to their logical category
The category will be used to sort the devices displayed inthe command line help.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>Message-id: 1375107465-25767-4-git-send-email-marcel.a@redhat.com...
add a header file for atomic operations
We're already using them in several places, but __sync builtins are justtoo ugly to type, and do not provide seqcst load/store operations.
Reviewed-by: Richard Henderson <rth@twiddle.net>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
piolist: add owner argument to initialization functions and pass devices
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/d*: pass owner to memory_region_init* functions
vga: pass owner to vga_init
vga: pass owner to vga_common_init
memory: add owner argument to initialization functions
qxl: Fix QXLRam initialisation.
The qxl driver expect NULL for QXLRam.memory_configs, but this is neverinitialized.
If memory is set to 0xc2c2.., it leads to a spice-critical error whentrying to start qxl.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>...
qxl: Call spice_qxl_driver_unload from qxl_enter_vga_mode
With a SPICE_DISPLAY_CAP_MONITORS_CONFIG capable client, the client needs toknow what part of the primary to use for each monitor. If the guest driverdoes not support this, the server sends messages to the client for a...
console: add device link to QemuConsoles
So it is possible to figure which qemu console displays which device.
console: zap ds arg from register_displaychangelistener
We don't have multiple DisplayStates any more,so passing it in as argument is not needed.
Merge remote-tracking branch 'spice/spice.v69' into staging
spice: (32 bit only) fix surface cmd tracking destruction
No change for 64 bit arches, but for 32 bit previously we zeroed halfthe surfaces cmd array, instead of all of it.
Signed-off-by: Alon Levy <alevy@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qxl: add 2000x2000 and 2048x2048 video modes
qxl: register QemuConsole for secondary cards
Hook secondary qxl cards properly into the qemu console subsystem.
console: allow pinning displaychangelisteners to consoles
DisplayChangeListener gets a new QemuConsole field, which can be set tonon-NULL before registering. This will pin the QemuConsole, so thatparticular DisplayChangeListener will not follow console switches....
qxl: add 4k + 8k resolutions
console: add GraphicHwOps
Pass a single GraphicHwOps struct pointer to graphic_console_init,instead of a bunch of function pointers.
console: rename vga_hw_*, add QemuConsole param
Add QemuConsole parameter to vga_hw_*, so the interface allows to updatenon-active consoles (the actual code can't handle this yet, see nextpatch). Passing NULL is allowed and updates the active console, like...
console: simplify screendump
Screendumps are alot simpler as we can update non-activeQemuConsoles now. So we only need to update the QemuConsolewe want write out, then dump the DisplaySurface content intoa ppm file. Done.
No console switching needed. No special support code in the...
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can bekept in hw/.
hw: move display devices to hw/display/, configure via default-configs/