Remove dev-bluetooth.c dependency from vl.c
Use usb_legacy_register handling to create bt-dongle device and remove codedependency from vl.c so CONFIG_USB_BLUETOOTH can be disabled.
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ehci: save device pointer in EHCIState
We'll need a pointer to the actual pci/sysbus device,stick a pointer to it into the EHCIState struct.
https://bugzilla.redhat.com/show_bug.cgi?id=1005495
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb: sanity check setup_index+setup_len in post_load
Preparation for usb-bt-dongle conditional build
To allow disable usb-bt-dongle device using CONFIG_BLUETOOTH option, some offunctions in vl.c file has to be made accessible in dev-bluetooth.c. This ispure code moving.
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>...
mips_malta: support up to 2GiB RAM
A Malta board can support up to 2GiB of RAM. Since the unmapped kseg0/1regions are only 512MiB large & the latter 256MiB of those are taken upby the IO region, access to RAM beyond 256MiB must be done through amapped region. In the case of a Linux guest this means we need to use...
Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging
exec: do tcg_commit only when tcg_enabled
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Revert "memory: Return -1 again on reads from unsigned regions"
This reverts commit 9b8c69243585a32d14b9bb9fcd52c37b0b5a1b71.
The commit was wrong: We only return -1 on invalid accesses, not onvalid but unbacked ones. This broke various corner cases.
Cc: qemu-stable@nongnu.org...
memory: Provide separate handling of unassigned io ports accesses
Accesses to unassigned io ports shall return -1 on read and be ignoredon write. Ensure these properties via dedicated ops, decoupling us fromthe memory core's handling of unassigned accesses....
exec: check offset_within_address_space for register subpage
If offset_within_address_space falls in a page, then we register asubpage. So check offset_within_address_space rather thanoffset_within_region.
Cc: qemu-stable@nongnu.orgCc: Paolo Bonzini <pbonzini@redhat.com>...
View all revisions | View revisions
Also available in: Atom