- 02 5月, 2012 8 次提交
-
-
由 Alexander Graf 提交于
When trying to evaluate the size of the _host_ type size for olddev_t, we need to expose the host's pointer size, not the guest pointer size. This usage got introduced accidently in commit b754e4fc. Fix things by not using TARGET_.*, but rather use host sizeof() information, which gives us the correct size. Reported-by: NPeter Maydell <peter.maydell@linaro.org> Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 François Revol 提交于
Add mmubooke_dump_mmu(). TODO: Add printing of individual flags. Signed-off-by: NFrançois Revol <revol@free.fr> [agraf: fix coding style] Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 Stefan Weil 提交于
The default case in function spin_read should never be reached, therefore the old code used assert(0) to abort QEMU. This does not work when QEMU is compiled with macro NDEBUG defined. In this case (and also when the compiler does not know that assert never returns), there is a compiler warning because of the missing return value. Using hw_error allows an improved error message and aborts always. Signed-off-by: NStefan Weil <sw@weilnetz.de> [agraf: use __func__] Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 Peter Portante 提交于
Commit ed120055 (Implement PAPR VPA functions for pSeries shared processor partitions) introduced the deregister_dtl() function and typo "emv" as name of its argument. This went unnoticed because the code in that function can access the global variable "env" so that no build failure resulted. Fix the argument to read "env". Resolves LP#986241. Signed-off-by: NPeter Portante <peter.portante@redhat.com> Acked-by: NAndreas Färber <afaerber@suse.de> [agraf: fixed typo in commit message] Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 David Gibson 提交于
Currently the pseries PCI code uses a somewhat strange scheme of PCI irq allocation - one per slot up to a maximum that's greater than the usual 4. This scheme more or less worked, because we were able to tell the guest the irq mapping in the device tree, however it's a bit odd and may break assumptions in the future. Worse, the array used to construct the dev tree interrupt map was mis-sized, we got away with it only because it happened that our SPAPR_PCI_NUM_LSI value was greater than 7. This patch changes the pseries PCI code to use the same interrupt swizzling scheme as is standardized for PCI to PCI bridges. This makes for better consistency, deals better with any devices which use multiple interrupt pins and will make life easier in the future when we add passthrough of what may be either a host bridge or a PCI to PCI bridge. This won't break existing guests, because they don't assume a particular mapping scheme for host bridges, but just follow what we tell them in the device tree (also updated to match, of course). This patch also fixes the allocation of the irq map. Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au> Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 David Gibson 提交于
PAPR virtual IO (VIO) devices require a unique, but otherwise arbitrary, "address" used as a token to the hypercalls which manipulate them. Currently the pseries machine code does an ok job of allocating these addresses when the legacy -net nic / -serial and so forth options are used but will fail to allocate them properly when using -device. Specifically, you can use -device if all addresses are explicitly assigned. Without explicit assignment, only one VIO device of each type (network, console, SCSI) will be assigned properly, any further ones will attempt to take the same address leading to a fatal error. This patch fixes the situation by adding a proper address allocator to the VIO "bus" code. This is used both by -device and the legacy options and default devices. Addresses can still be explicitly assigned with -device options if desired. This patch changes the (guest visible) numbering of VIO devices, but since their addresses are discovered using the device tree and already differ from the numbering found on existing PowerVM systems, this does not break compatibility. Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au> Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 Alexander Graf 提交于
When initializing the e500 code, we need to expose its cache line size for user and system mode, while the mmu details are only interesting for system emulation. Split the 2 switch statements apart, allowing us to #ifdef out the mmu parts for user mode emulation while keeping all cache information consistent. Signed-off-by: NAlexander Graf <agraf@suse.de>
-
由 Bharat Bhushan 提交于
Initial Mapping creation for secondary CPU in SMP was missing new MMU API. Signed-off-by: NBharat Bhushan <bharat.bhushan@freescale.com> Signed-off-by: NAlexander Graf <agraf@suse.de>
-
- 01 5月, 2012 17 次提交
-
-
由 malc 提交于
Signed-off-by: Nmalc <av1474@comtv.ru>
-
由 Blue Swirl 提交于
Update OpenBIOS images to SVN r1056. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Andreas Färber 提交于
Move socket-related Solaris libraries to $solarisnetlibs and use them for both $LIBS and $libs_qga. Fixes build on illumos without --disable-guest-agent. Signed-off-by: NLee Essen <lee.essen@nowonline.co.uk> Signed-off-by: NAndreas Färber <andreas.faerber@web.de> Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Andreas Färber 提交于
ga_channel_open() was using open flag O_ASYNC for SIGIO-driven I/O. This breaks on illumos, so fall back to POSIX I_SETSIG ioctl (SIGPOLL). Signed-off-by: NLee Essen <lee.essen@nowonline.co.uk> Signed-off-by: NAndreas Färber <andreas.faerber@web.de> Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Stefan Weil 提交于
The timeout argument was unused up to now, but it can be used to reduce the poll_timeout when it is infinite (negative value) or larger than timeout. Signed-off-by: NStefan Weil <sw@weilnetz.de> Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Stefan Weil 提交于
Initially, vga_get_text_resolution returns a text resolution of 1 x 1 (vga register values are 0). This is visible during MIPS Malta boot with SDL. It also occurs with the i386 or x86_64 system emulation when it runs in single step mode: QEMU changes the size of the SDL window to the smallest possible value which is supported by the window manager. As this is not the calculated size, QEMU switches to scaled mode. When the BIOS or the VGA driver sets the normal text resolution, the window stays small and displays microscopic characters. Ignoring text resolutions of 1 x 1 or less avoids these problems. A similar workaround already exists for too large resolutions. Signed-off-by: NStefan Weil <sw@weilnetz.de> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Reviewed-by: NRichard Henderson <rth@twiddle.net> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Fold is_ram_rom and is_ram_rom_romd() into callers. Change is_romd() and section_addr() to take MemoryRegion instead of MemoryRegionSection for consistency and use memory_region_ prefix. Reviewed-by: NRichard Henderson <rth@twiddle.net> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Move TLB handling and softmmu code load helpers to cputlb.c, compile only for softmmu targets. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Make s_cputlb_empty_entry 'const'. Rename tlb_flush_jmp_cache() to tb_flush_jmp_cache(). Refactor code to add cpu_tlb_reset_dirty_all(), memory_region_section_get_iotlb() and memory_region_is_unassigned(). Remove unused cpu_tlb_update_dirty(). Fix coding style in areas to be moved. Reviewed-by: NRichard Henderson <rth@twiddle.net> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
git://repo.or.cz/qemu/afaerber由 Blue Swirl 提交于
* 'maintainers-up' of git://repo.or.cz/qemu/afaerber: MAINTAINERS: Document all stable trees MAINTAINERS: Fix SCM tree for virtio-9p MAINTAINERS: Indicate type of SCM MAINTAINERS: Fix TCI file pattern MAINTAINERS: Fix virtio-9p file pattern MAINTAINERS: Fix PC file pattern
-
git://repo.or.cz/qemu/afaerber由 Blue Swirl 提交于
* 'cocoa-for-upstream' of git://repo.or.cz/qemu/afaerber: Drop darwin-user configure: add '--disable-cocoa' switch raw-posix: Do not use CONFIG_COCOA macro
-
git://repo.or.cz/qemu/afaerber由 Blue Swirl 提交于
* 'prep-up' of git://repo.or.cz/qemu/afaerber: prep: Move int-ack register from PReP to Raven PCI emulation prep: Initialize PC speaker isa: Add isa_bus_from_device() method fdc: Parametrize ISA base, IRQ and DMA i82378/i82374: Do not create DMA controller twice
-
git://github.com/afaerber/qemu-cpu由 Blue Swirl 提交于
* 'qom-cpu-rest.v1' of git://github.com/afaerber/qemu-cpu: Makefile: Simplify compilation of target-*/cpu.c target-mips: Start QOM'ifying CPU init target-mips: QOM'ify CPU target-m68k: Add QOM CPU subclasses target-m68k: Start QOM'ifying CPU init target-m68k: QOM'ify CPU reset target-m68k: QOM'ify CPU target-sh4: Start QOM'ifying CPU init target-sh4: QOM'ify CPU reset target-sh4: QOM'ify CPU MAINTAINERS: Downgrade target-mips and target-sh4 to Odd Fixes MAINTAINERS: Downgrade target-m68k to Odd Fixes
-
由 Andreas Färber 提交于
It's been orphaned, not compiling for a long time and despite Apple's drop of their Rosetta ppc emulation technology with Mac OS X Lion no one has stepped up to fix it. Testing necessary changes wrt QOM'ification thus is impossible, so we might as well remove it completely. Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
-
由 Pavel Borzenkov 提交于
When SDL support is disabled, there is no way to build QEMU without Cocoa support on MacOS X. This patch adds '--disable-cocoa' switch and allows to build QEMU without both SDL and Cocoa frontends. Signed-off-by: NPavel Borzenkov <pavel.borzenkov@gmail.com> [AF: Adapt help output] Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
-
由 Pavel Borzenkov 提交于
Use __APPLE__ and __MACH__ macros instead of CONFIG_COCOA to detect Mac OS X host. The patch is based on Ben Leslie's patch: http://patchwork.ozlabs.org/patch/97859/Signed-off-by: NBen Leslie <benno@benno.id.au> Signed-off-by: NPavel Borzenkov <pavel.borzenkov@gmail.com> Acked-by: NKevin Wolf <kwolf@redhat.com> Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
-
- 30 4月, 2012 13 次提交
-
-
由 Hervé Poussineau 提交于
Register is one byte-wide (as per specification), so there is no need to specify endianness. Signed-off-by: NHervé Poussineau <hpoussin@reactos.org> [AF: Limit access validity to size 1] Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
-
由 Andreas Färber 提交于
All targets except for ppc now have a standalone cpu.c file. Signed-off-by: NAndreas Färber <afaerber@suse.de>
-
由 Andreas Färber 提交于
Move code not dependent on mips_def_t from cpu_mips_init() into a QOM initfn, as a start. Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NRichard Henderson <rth@twiddle.net>
-
由 Andreas Färber 提交于
Embed CPUMIPSState as first member of QOM MIPSCPU. Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NRichard Henderson <rth@twiddle.net>
-
由 Andreas Färber 提交于
Move code from cpu_m68k_set_model() into model-specific initfns and inline the remaining parts into cpu_m68k_init(). Let m68k_cpu_list() print CPU classes alphabetically except for "any". Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NLaurent Vivier <Laurent@Vivier.EU> Tested-by: NLaurent Vivier <Laurent@Vivier.EU>
-
由 Andreas Färber 提交于
Move model-independent code from cpu_m68k_init() into a QOM initfn. Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NLaurent Vivier <Laurent@Vivier.EU> Tested-by: NLaurent Vivier <Laurent@Vivier.EU>
-
由 Andreas Färber 提交于
Move code from cpu_state_reset() into QOM m68k_cpu_reset(). Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NLaurent Vivier <Laurent@Vivier.EU> Tested-by: NLaurent Vivier <Laurent@Vivier.EU>
-
由 Andreas Färber 提交于
Embed CPUM68KState as first member of QOM M68kCPU. Drop cpu_m68k_close() in favor of object_delete(). Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NLaurent Vivier <Laurent@Vivier.EU> Tested-by: NLaurent Vivier <Laurent@Vivier.EU>
-
由 Andreas Färber 提交于
Move code from cpu_sh4_init() into a QOM initfn. Signed-off-by: NAndreas Färber <afaerber@suse.de>
-
由 Andreas Färber 提交于
Move code from cpu_state_reset() to QOM superh_cpu_reset(). Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
-
由 Andreas Färber 提交于
Embed CPUSH4State as first member of SuperHCPU. Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: NAndreas Färber <afaerber@suse.de> Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
-
由 Andreas Färber 提交于
Patches are not being handled, so let's downgrade to Odd Fixes. Signed-off-by: NAndreas Färber <afaerber@suse.de> Acked-by: NAurélien Jarno <aurelien@aurel32.net>
-
由 Andreas Färber 提交于
m68k patches are not being handled, so let's downgrade to Odd Fixes. Signed-off-by: NAndreas Färber <afaerber@suse.de> Acked-by: NPaul Brook <paul@codesourcery.com>
-
- 29 4月, 2012 2 次提交
-
-
由 Hervé Poussineau 提交于
Speaker init has been added in 506b7ddf, but audio subsystem init was missing. Signed-off-by: NHervé Poussineau <hpoussin@reactos.org> Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
-
由 Hervé Poussineau 提交于
Signed-off-by: NHervé Poussineau <hpoussin@reactos.org> Acked-by: NGerd Hoffmann <kraxel@redhat.com> Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
-