aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-03microblaze: Fix loading of petalogix s3adsp1800 dtb.Edgar E. Iglesias3-10/+12
Provide a petalogix-s3adsp1800.dtb blob. Correct loading of the petalogix dtb. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-06-03Stellaris qdev conversionPaul Brook4-51/+97
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-06-02Implement multiple samplers on stellaris ADCPaul Brook1-19/+31
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-30Use relative path for biosPaul Brook16-122/+366
Look for bios and other support files relative to qemu binary, rather than a hardcoded prefix. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-28Update maintainer list.Edgar E. Iglesias1-0/+4
Add myself as maintainer for the microblaze cpu and boards. Update list of CRIS machines. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-28Install keymaps from new locationAnthony Liguori1-1/+1
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-28vvfat: one more missing BlockDriver C99 initializer conversionChristoph Hellwig1-4/+3
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-28Move keymaps into pc-biosAnthony Liguori35-0/+0
This isn't the most ideal layout, but it makes -L /path/to/git/pc-bios Just Work which is very convenient. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-28kvm: Mark full address range dirty on live migration startJan Kiszka2-1/+3
As Avi correctly noted, last_ram_offset does not mark the last physical RAM address the guest may see (due to non-continuous memory regions). Ensure that we catch them all by marking the full possible address range dirty. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-28Add detection of pthread library nameSebastian Herbszt1-5/+9
Try to detect the name of the pthread library. Currently it looks for "-pthread" and "-pthreadGC2". Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-28User networking: Show active connectionsAlexander Graf4-1/+74
In case you're wondering what connections exactly you have open or maybe redir'ed in the past, you can't really find out from qemu right now. This patch enables you to see all current connections the host only networking holds open, so you can kill them using the previous patch. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27User Networking: Enable removal of redirectionsAlexander Graf6-5/+71
Using the new host_net_redir command you can easily create redirections on the fly while your VM is running. While that's great, it's missing the removal of redirections, in case you want to have a port closed again at a later point in time. This patch adds support for removal of redirections. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27Allow monitor interaction when using migrate -execChris Lalancette3-12/+34
All, I've recently been playing around with migration via exec. Unfortunately, when starting the incoming qemu process with "-incoming exec:cmd", it suffers the same problem that -incoming tcp used to suffer; namely, that you can't interact with the monitor until after the migration has happened. This causes problems for libvirt usage of -incoming exec, since libvirt expects to be able to access the monitor ahead of time. This fairly simple patch allows you to access the monitor both before and after the migration has completed using exec. (note: developed/tested with qemu-kvm, but applies perfectly fine to qemu) Signed-off-by: Chris Lalancette <clalance@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27fully split aio_pool from BlockDriverChristoph Hellwig9-149/+121
Now that we have a separate aio pool structure we can remove those aio pool details from BlockDriver. Every driver supporting AIO now needs to declare a static AIOPool with the aiocb size and the cancellation method. This cleans up the current code considerably and will make it cleaner and more obvious to support two different aio implementations behind a single BlockDriver. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27qcow: add qcow_aio_setup helperChristoph Hellwig1-23/+29
[this one is required for [PATCH] fully split aio_pool from BlockDriver, sorry for not sending it out earlier] Add a qcow_aio_setup helper to qcow to shared common code between the aio_readv and aio_writev methods. Based on the function with the same name in qcow2. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27raw-posix: fix hdev_createChristoph Hellwig1-10/+1
We do need hdev_create unconditionally on all platforms so that qemu-img create support for host device works on all platforms. Also relax the check to allow character devices in addition to block devices. On many Unix platforms block devices have buffered block nodes and unbuffered character device nodes, and on FreeBSD the block nodes don't even exist anymore. Also on Linux we do support the /dev/sgN scsi passthrough devices through the host device driver, and probably the old-style /dev/raw/rawN raw devices although I haven't tested that. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27fix raw_pread_aligned return valueChristoph Hellwig1-1/+1
raw_pread_aligned currently returns the raw return value from lseek/read, which is always -1 in case of an error. But the callers higher up the stack expect it to return the negated errno just like raw_pwrite_aligned. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27VNC: Fix memory allocation (wrong structure size).Stefan Weil1-2/+1
Pointer vs addresses a VncDisplay structure, so it is sufficient to allocate sizeof(VncDisplay) or sizeof(*vs) bytes instead of the much larger sizeof(VncState). Maybe the misleading name should be fixed, too: the code contains many places where vs is used, sometimes it is a VncState *, sometimes it is a VncDisplay *. vd would be a better name. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27Drop bdrv_create2Kevin Wolf2-42/+24
This patch converts the remaining users of bdrv_create2 to bdrv_create and removes the now unused function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27qcow2: Update multiple refcounts at onceKevin Wolf1-4/+36
Don't write each single changed refcount block entry to the disk after it is written, but update all entries of the block and write all of them at once. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27qcow2: Refactor update_refcountKevin Wolf1-30/+56
This is a preparation patch with no functional changes. It moves the allocation of new refcounts block to a new function and makes update_cluster_refcount (for one cluster) call update_refcount (for multiple clusters) instead the other way round. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27qcow/qcow2: Drop synchronous qcow_write()Kevin Wolf2-77/+2
There is only one (internal) user left and it can be switched to the normal emulation provided in block.c Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27e1000: Ignore reset commandKevin Wolf1-2/+9
When a reset is requested, the current e1000 emulation never clears the reset bit which may cause a driver to hang. This patch masks the reset bit out when setting the control registert, so the reset is immediately completed. Signed-off-by: Kevin Wolf <mail@kevin-wolf.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27Fix output of uninitialized stringsKevin Wolf2-22/+11
Commit ffad4116b96e29e0fbe892806f97c0a6c903d30d removed the "scratch buffer" from check_params, but didn't care for the error messages which actually included this string to tell the user which option was wrong. Now this string is uninitialized, so this patch removes it from the message. This means that the user is only told the whole parameter string and has to pick the wrong option by himself as the callers of check_params can't know this value any more. An alternative approach would be to revert that commit and do whatever is needed to fix the original problem without changing check_params. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27microblaze: Conditionalize FDT features.Edgar E. Iglesias1-2/+17
If libfdt is not available, disable the fdt manipulation features. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-27doc: Briefly mention CRIS and MicroBlaze.Edgar E. Iglesias1-1/+3
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-27microblaze: Make writes to MMU_ZPR flush the TLB.Edgar E. Iglesias1-0/+7
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-27microblaze: Correct typo.Edgar E. Iglesias1-1/+1
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Hook into the build-system.Edgar E. Iglesias2-1/+41
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add GDB stub support.Edgar E. Iglesias1-0/+32
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add petalogix s3a1800dsp MMU linux ref-design.Edgar E. Iglesias3-0/+245
This setup was designed by petalogix and is supported by upstream linux. The design targets a xilinx spartan-3a-1800 dsp board with MMU. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26xilinx: Add ethlite emulation.Edgar E. Iglesias1-0/+235
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26xilinx: Add uartlite emulation.Edgar E. Iglesias1-0/+218
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26xilinx: Add OPB timer.Edgar E. Iglesias1-0/+224
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26xilinx: Add interrupt controller.Edgar E. Iglesias1-0/+167
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add CPU interrupt wrapper logic.Edgar E. Iglesias1-0/+50
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add MMU emulation.Edgar E. Iglesias2-0/+338
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add disassembler.Edgar E. Iglesias3-0/+851
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: linux-user support.Edgar E. Iglesias7-5/+474
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add syscall, signal and termbits defs for linux-user.Edgar E. Iglesias4-0/+656
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26microblaze: Add translation routines.Edgar E. Iglesias7-0/+2305
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26Remove temporary config-host.hPaul Brook1-1/+8
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-26Remove qdev irq sink handlingPaul Brook18-43/+27
We have both IRQ sinks and GPIO inputs. These are in principle exactly the same thing, so remove the former. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-25Add dummy command to submakefilesPaul Brook2-0/+4
Add a dummy command to the all: rule in sub-makefiles. This avoids "Nothing to be done for `all'." messages from make. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-24Remove unused variablePaul Brook1-1/+0
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-23ETRAX: Removed unused struct entry and fixed Windows build.Stefan Weil1-1/+0
"struct timeval last" caused a compilation error with mingw32 (missing header for struct timeval). It is unused, so it was possible to remove it. Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
2009-05-23Add common BusStatePaul Brook30-135/+229
Implement and use a common device bus state. The main side-effect is that creating a bus and attaching it to a parent device are no longer separate operations. For legacy code we allow a NULL parent, but that should go away eventually. Also tweak creation code to veriry theat a device in on the right bus. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-22Fix lance segfaultsPaul Brook1-3/+6
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-22Avoid errors when curl-config does not existPaul Brook1-1/+1
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-22bios: Use the correct mask to size the PCI option ROM BARAnthony Liguori3-0/+34
Bit 0 is the enable bit, which we not only don't want to set, but it will stick and make us think it's an I/O port resource. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>