]>
Git Repo - qemu.git/log
aliguori [Wed, 11 Feb 2009 21:00:38 +0000 (21:00 +0000)]
monitor: Don't change VNC server when disabled (Jan Kiszka)
[ As requested, broken out of the monitor rework series. ]
Avoid a segfault when the user issues 'change vnc' without having vnc
enabled on startup.
Signed-off-by: Jan Kiszka <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6616
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 21:00:32 +0000 (21:00 +0000)]
Fix qemu_realloc() (Kevin Wolf)
For qemu_realloc with size == 0 a result of NULL is perfectly fine
Signed-off-by: Kevin Wolf <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6615
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 11 Feb 2009 19:47:39 +0000 (19:47 +0000)]
TCG: remove obsolete old_op_count profiler field
Since we don't generate any "old op" anymore, the old_op_count
is unneeded.
Signed-off-by: Laurent Desnogues <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6614
c046a42c -6fe2-441c-8c8c-
71466251a162
malc [Wed, 11 Feb 2009 18:54:02 +0000 (18:54 +0000)]
Add missing r24..r26 to callee save registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6613
c046a42c -6fe2-441c-8c8c-
71466251a162
malc [Wed, 11 Feb 2009 18:51:19 +0000 (18:51 +0000)]
Add missing r24..r26 to calle save registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6612
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 11 Feb 2009 18:04:12 +0000 (18:04 +0000)]
Use qemu_ram_alloc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6611
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:54 +0000 (15:21 +0000)]
qemu: PCI device, disk and host network hot-add / hot-remove (Marcelo Tosatti)
Add monitor command to hot-add PCI devices (nic and storage).
Syntax is:
pci_add pci_addr=[[<domain>:]<bus>:]<slot> nic|storage params
It returns the domain, bus and slot for the newly added device on success.
It is possible to attach a disk to a device after PCI initialization via
the drive_add command. If so, a manual scan of the SCSI bus on the guest
is necessary.
Save QEMUMachine necessary for drive_init.
Add monitor command to hot-remove devices, remove device data on _EJ0 notification.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6610
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:48 +0000 (15:21 +0000)]
Parse full PCI device addresses (Markus Armbruster)
This code parses full PCI device addresses. It then rejects domains
other than zero, because these are not supported in QEMU.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6609
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:41 +0000 (15:21 +0000)]
qemu: pci hotplug GPE support (Marcelo Tosatti)
Enable the corresponding bit on the PCIST region and trigger the SCI
and handle the _EJ0 notifications.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6608
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:35 +0000 (15:21 +0000)]
qemu: initialize hot add system / acpi gpe (Marcelo Tosatti)
ACPI GPE support, used by PCI (and CPU) hotplug.
From: Glauber Costa <
[email protected] >
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6607
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:29 +0000 (15:21 +0000)]
qemu: zero ioport_opaque on isa_unassign_ioport (Marcelo Tosatti)
If the io port is unassigned, the previous private pointer is
meaningless.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6606
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:22 +0000 (15:21 +0000)]
qemu: LSI SCSI and e1000 unregister callbacks (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6605
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:16 +0000 (15:21 +0000)]
qemu: warn if PCI region is not power of two (Marcelo Tosatti)
Otherwise the PCI size for such regions can be calculated erroneously.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6604
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:10 +0000 (15:21 +0000)]
qemu: add pci_unregister_device (Marcelo Tosatti)
Unregister the pci device, unassign its IO and memory regions, and free
associated data.
Add a callback so drivers can free device state.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6603
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:04 +0000 (15:21 +0000)]
qemu: add qemu_free_irqs (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6602
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:58 +0000 (15:20 +0000)]
qemu: add cpu_unregister_io_memory and make io mem table index dynamic (Marcelo Tosatti)
So drivers can clear their mem io table entries on exit back to unassigned
state.
Also make the io mem index allocation dynamic.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6601
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:51 +0000 (15:20 +0000)]
qemu: add net_client_uninit / qemu_find_vlan_client (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6600
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:46 +0000 (15:20 +0000)]
qemu: net/drive add/remove tweaks (Marcelo Tosatti)
Export net/drive add/remove functions for device hotplug usage.
Return the table index on add.
Return failure instead of exiting if limit has been reached
on drive_add.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6599
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:37 +0000 (15:20 +0000)]
qemu: move drives_opt for external use (Marcelo Tosatti)
Device hotplug will use that structure from a separate
file.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6598
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:29 +0000 (15:20 +0000)]
qemu: record devfn on block driver instance (Marcelo Tosatti)
Record PCIDev on the BlockDriverState structure to locate for release
on hot-removal.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6597
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:20 +0000 (15:20 +0000)]
qemu: drive removal support (Marcelo Tosatti)
To be used by hot-remove.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6596
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:03 +0000 (15:20 +0000)]
qemu: dynamic nic info index allocation (Marcelo Tosatti)
Dynamically allocate nic info index, so to reuse indexes when devices are
removed.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6595
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:58 +0000 (15:19 +0000)]
qemu: dynamic drive/drive_opt index allocation (Marcelo Tosatti)
Dynamically allocate drive options and drive table index, to reuse
indexes when devices are removed.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6594
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:52 +0000 (15:19 +0000)]
qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti)
Change the PCI network drivers init functions to return the PCIDev, to
inform which slot has been hot-plugged.
Also record PCIDevice structure on NICInfo to locate for release on
hot-removal.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6593
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:46 +0000 (15:19 +0000)]
qemu: add pci helper functions (Marcelo Tosatti)
Add pci_find_bus/pci_find_device to be used by PCI hotplug.
Signed-off-by: Marcelo Tosatti <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6592
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:16 +0000 (15:19 +0000)]
Add a description for the set_link monitor command.
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6591
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:11:43 +0000 (15:11 +0000)]
Add BIOS patches necessary for hotplug (Marcelo Tosatti)
See each patch for appropriate Signed-off-by's.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6590
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 14:55:47 +0000 (14:55 +0000)]
Update PC BIOS to latest bits from Bochs
A number of patches were merged since we last pulled.
Thanks to Marcelo Tosatti for rebasing the existing patches and testing.
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6589
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 10 Feb 2009 19:00:31 +0000 (19:00 +0000)]
Add "static"
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6588
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 23:19:44 +0000 (23:19 +0000)]
Fix fr-be keymap
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6587
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 23:19:32 +0000 (23:19 +0000)]
Fix AltGr and dead keys with VNC
(Marcel Zumstein)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6586
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 20:43:53 +0000 (20:43 +0000)]
Fix DEBUG_TCGV compile error.
Don't call TCGV_LOW on arg2. This section of code falls under
Signed-off-by: Nathan Froyd <[email protected] >
Acked-by: Laurent Desnogues <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6585
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 20:09:29 +0000 (20:09 +0000)]
qemu_chr_open_tcp: allow ipv4 and ipv6 options
Those new options are parsed in qemu-sockets.c. Allow them instead of
printing "Unknown option".
Signed-off-by: Sebastian Herbszt <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6584
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 9 Feb 2009 19:59:57 +0000 (19:59 +0000)]
Update ppc-dis.c from binutils from 4th July, 2007, just before GPLv3 switch
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6583
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 9 Feb 2009 19:58:22 +0000 (19:58 +0000)]
Update ppc-dis.c from binutils 2.17
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6582
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 19:03:02 +0000 (19:03 +0000)]
ppc newworld: default to a G4 CPU
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6581
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 19:02:09 +0000 (19:02 +0000)]
Fix crash caused by missing command line arguments
Signed-off-by: Stefan Weil <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6580
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 18:28:36 +0000 (18:28 +0000)]
Remove unused code from dyngen-exec.h
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6579
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 18:14:31 +0000 (18:14 +0000)]
Make qemu-img argument handling POSIX compliant
Signed-off-by: Hervé Poussineau <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6578
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 17:00:41 +0000 (17:00 +0000)]
Fix displaystate (r6344) regression in blizzard
Testcase:
qemu-system-arm -M n810 -kernel /dev/null -m 130
Without this patch, we get a segfault.
Signed-off-by: Riku Voipio <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6577
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:50:00 +0000 (16:50 +0000)]
target-ppc: Model e500v{1,2} CPUs more accurately
The e500v1 chips only have single-precision floating point; don't say we
support the double-precision floating-point instructions on such chips.
Also add an e500v1 -cpu argument for a generic e500v1.
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6576
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:50 +0000 (16:49 +0000)]
target-ppc: Model SPE floating-point instructions more accurately
Single-precision and double-precision floating-point instructions should
be separated into their own categories, since some chips only support
single-precision instructions.
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6575
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:40 +0000 (16:49 +0000)]
target-ppc: Add vrsqrtefp instruction
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6574
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:29 +0000 (16:49 +0000)]
target-ppc: Add vrefp instruction
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6573
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:20 +0000 (16:49 +0000)]
target-ppc: Add vct{u,s}xs instructions
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6572
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:10 +0000 (16:49 +0000)]
target-ppc: Add vcmp{eq, ge, gt, b}fp{, .} instructions
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6571
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:48:59 +0000 (16:48 +0000)]
target-ppc: Add vmaddfp and vnmsubfp instructions
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6570
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:48:51 +0000 (16:48 +0000)]
target-ppc: Add v{add,sub}fp instructions
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6569
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:48:39 +0000 (16:48 +0000)]
target-ppc: Add v{max,min}fp instructions
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6568
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Mon, 9 Feb 2009 15:50:36 +0000 (15:50 +0000)]
KVM: Get all cpuid values from function 2 (Amit Shah)
cpuid function 2 can have multiple values to describe cache behaviour.
Loop till we have fetched all the values.
Signed-off-by: Amit Shah <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6567
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Mon, 9 Feb 2009 15:50:31 +0000 (15:50 +0000)]
KVM: Fetch sub-leaf cpuid values for functions 4, 0xb, 0xd. (Amit Shah)
CPUID functions 4, 0xb and 0xd have sub-leaf values which depend on the
input value of ECX. Store these values as well.
Signed-off-by: Amit Shah <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6566
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Mon, 9 Feb 2009 15:50:08 +0000 (15:50 +0000)]
KVM: CPUID takes ecx as input value for some functions (Amit Shah)
The CPUID instruction takes the value of ECX as an input parameter
in addition to the value of EAX as the count for functions 4, 0xb
and 0xd. Make sure we pass the value to the instruction.
Also convert to the qemu-style whitespace for the surrounding code.
Signed-off-by: Amit Shah <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6565
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 17:17:52 +0000 (17:17 +0000)]
Remove GenOpFunc typedefs
This patch removes the GenOpFunc typedefs from exec-all.h, which are no
longer needed, now that dyngen has been removed.
Signed-off-by: Stuart Brady <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6564
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 16:08:08 +0000 (16:08 +0000)]
Update Sparc images
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6563
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 16:01:38 +0000 (16:01 +0000)]
Fix UniNorth
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6562
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 16:01:01 +0000 (16:01 +0000)]
Use Mac NVRAM
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6561
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 15:59:36 +0000 (15:59 +0000)]
Switch Mac99 to OpenBIOS
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6560
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 8 Feb 2009 15:53:20 +0000 (15:53 +0000)]
QEMU Microsoft serial mouse emulation
Adds "msmouse" character device, which emulates a serial mouse.
Use it with -serial msmouse.
Signed-Off-By: Lubomir Rintel <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6559
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 8 Feb 2009 14:56:04 +0000 (14:56 +0000)]
Add load/save capability to rc4030 chipset
Signed-off-by: Hervé Poussineau <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6558
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 8 Feb 2009 14:51:19 +0000 (14:51 +0000)]
Additional VGA options for MIPS Malta
Support all kinds of pci vga cards (including none)
Signed-off-by: Stefan Weil <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6557
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 8 Feb 2009 14:46:17 +0000 (14:46 +0000)]
fix use of host serial port
Signed-off-by: David Ahern <[email protected] >
Acked-by: Stefano Stabellini <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6556
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 13:05:12 +0000 (13:05 +0000)]
Use CMD646 IDE for now
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6555
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 12:50:56 +0000 (12:50 +0000)]
Load 32 bit ELF BIOS images also on PPC64
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6554
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 8 Feb 2009 12:49:13 +0000 (12:49 +0000)]
Rename ppc_chrp.c to ppc_newworld.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6553
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 7 Feb 2009 15:20:14 +0000 (15:20 +0000)]
Fix bug in omap_sx1.c introduced by r6344
This patch changes the QEMUMachine init function not to take a
DisplayState as an argument because is not needed any more;
Signed-off-by: Stefan Weil <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6552
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 7 Feb 2009 15:19:40 +0000 (15:19 +0000)]
Fix tosa_dac_recv warning
This patch fixes:
/scratch/froydnj/qemu.git/hw/tosa.c:176: warning: no previous prototype for 'tosa_dac_recv'
by making the function static.
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6551
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 7 Feb 2009 15:19:20 +0000 (15:19 +0000)]
Fix cpu_arm_handle_mmu_fault warning
This patch fixes:
/scratch/froydnj/qemu.git/target-arm/helper.c:451: warning: no previous prototype for 'cpu_arm_handle_mmu_fault'
by moving the declaration of the function to cpu.h from exec.h. cpu.h
seems to be the place most other ports declare the corresponding
function.
Signed-off-by: Nathan Froyd <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6550
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 7 Feb 2009 15:18:47 +0000 (15:18 +0000)]
SH4: fix TMU init
Init the TMU and the ptimer with the correct cpu reset value
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6549
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 7 Feb 2009 15:18:14 +0000 (15:18 +0000)]
SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected] >
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6548
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 7 Feb 2009 10:48:26 +0000 (10:48 +0000)]
Add it_shift
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6547
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 7 Feb 2009 09:51:59 +0000 (09:51 +0000)]
Fix VGA RAM offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6546
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Fri, 6 Feb 2009 21:37:40 +0000 (21:37 +0000)]
Fix SIGSEGV crash in slirp networking code
Fix SIGSEGV crash in networking code (bug was introduced in r6288).
Thanks to Gleb Natapov for finding this fix.
Signed-off-by: Stefan Weil <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6545
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Fri, 6 Feb 2009 21:30:02 +0000 (21:30 +0000)]
Add savevm and reset support for OpenPic
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6544
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 6 Feb 2009 00:49:42 +0000 (00:49 +0000)]
Revert part of 6531, fix build failure
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6543
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Fri, 6 Feb 2009 00:19:42 +0000 (00:19 +0000)]
Replace exit() in oom_check with abort()
So that we can get a core dump with a stack trace.
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6542
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Fri, 6 Feb 2009 00:15:19 +0000 (00:15 +0000)]
Revert changes to fmopl.c
fmopl.c was taken from MAME and doesn't include QEMU header files so we cannot
use qemu_malloc in it. It happens to build because C is a silly language.
Unfortunately, it doesn't play nicely with the QEMU headers so lets just revert
the changes that were made to it.
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6541
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:32 +0000 (22:36 +0000)]
qemu:virtio-net: Add VLAN filtering (Alex Williamson)
Use the control virtqueue to allow the guest to enable and manipulate
a VLAN filter table. This allows us to drop more packets the guest
doesn't want to see. We define a new VLAN class for the control
virtqueue with commands ADD and DEL with usage defined in virtio-net.h.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6540
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:28 +0000 (22:36 +0000)]
qemu:virtio-net: Add additional MACs via a filter table (Alex Williamson)
Create a filter table and allow the guest to populate it with the
MAC class control commands. We manage the size and usage of the
filter table including enabling promiscuous and all-multi modes
as necessary. The guest should therefore assume the table is
infinite. Eventually this might allow us to bind directly to a
hardware NIC and manipulate a physical MAC filter.
The specifics of the TABLE_SET command are documented in
virtio-net.h. Separate buffers in the same command are used
for unicaste and multicast addresses for priority and
sychronization. With this we can export the VIRTIO_NET_F_CTRL_RX
feature bit.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6539
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:24 +0000 (22:36 +0000)]
qemu:virtio-net: Enable filtering based on MAC, promisc, broadcast and allmulti (Alex Williamson)
Make use of the new RX_MODE control virtqueue class by dropping
packets the guest doesn't want to see.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6538
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:20 +0000 (22:36 +0000)]
qemu:virtio-net: Add promiscuous and all-multicast mode bits (Alex Williamson)
Add a new RX_MODE control virtqueue class with commands PROMISC and
ALLMULTI and usage documented in virtio-net.h allowing the guest to
manipulate packet receiving options. We don't export a feature for
this until we also add the MAC filter table.
Note, for compatibility with older guest drivers we need to default
to promiscuous.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6537
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:16 +0000 (22:36 +0000)]
qemu:virtio-net: Add a virtqueue for control commands from the guest (Alex Williamson)
This will be used for RX mode, MAC table, VLAN table control, etc...
The control transaction consists of one or more "out" sg entries and
one or more "in" sg entries. The first out entry contains a header
defining the class and command. Additional out entries may provide
data for the command. A response via the ack entry is required
and the guest will typically be waiting for it.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6536
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:12 +0000 (22:36 +0000)]
qemu:virtio-net: Define ETH_ALEN for use when manipulating MAC addresses (Alex Williamson)
Makes it much easier to search too.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6535
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:08 +0000 (22:36 +0000)]
qemu:virtio-net: Allow setting the MAC address via set_config (Alex Williamson)
Allow the guest to write to the MAC address config space and update
the network info string when it does. Rename get_config for symmetry.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6534
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:36:04 +0000 (22:36 +0000)]
qemu:virtio-net: Save status and add some save infrastructure (Alex Williamson)
The status register should probably be saved since its guest visible.
Also add a little bit if infrastructure for handling various save
revisions.
Signed-off-by: Alex Williamson <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6533
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 5 Feb 2009 22:33:36 +0000 (22:33 +0000)]
target-ppc: change instruction name vrlogefp into vlogefp
Thanks to Nathan Froyd for noticing that.
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6532
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:06:18 +0000 (22:06 +0000)]
toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6531
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:06:11 +0000 (22:06 +0000)]
targets: remove error handling from qemu_malloc() callers (Avi Kivity)
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6530
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:06:05 +0000 (22:06 +0000)]
hw: remove error handling from qemu_malloc() callers (Avi Kivity)
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6529
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:05:58 +0000 (22:05 +0000)]
audio: remove error handling from qemu_malloc() callers (Avi Kivity)
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6528
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:05:53 +0000 (22:05 +0000)]
block: remove error handling from qemu_malloc() callers (Avi Kivity)
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6527
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 22:05:49 +0000 (22:05 +0000)]
Terminate emulation on memory allocation failure (Avi Kivity)
Memory allocation failures are a very rare condition on virtual-memory
hosts. They are also very difficult to handle correctly (especially in a
hardware emulation context). Because of this, it is better to gracefully
terminate emulation rather than executing untested or even unwritten recovery
code paths.
This patch changes the qemu memory allocation routines to terminate emulation
if an allocation failure is encountered.
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6526
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 21:24:02 +0000 (21:24 +0000)]
Convert IDE to use new dma helpers (Avi Kivity)
Use the new dma block helpers to perform dma disk I/O.
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6525
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 21:23:58 +0000 (21:23 +0000)]
Introduce block dma helpers (Avi Kivity)
These helpers perform read/write requests on entire scatter/gather lists,
relieving the device emulation code from mapping and unmapping physical
memory, and from looping when map resources are exhausted.
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6524
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 21:23:54 +0000 (21:23 +0000)]
Add qemu_iovec_reset() (Avi Kivity)
Add a helper to zero out an existing iovec. Removes the need to deallocate
and reallocate it.
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6523
c046a42c -6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 5 Feb 2009 21:23:50 +0000 (21:23 +0000)]
Add a scatter-gather list type and accessors (Avi Kivity)
Scatter-gather lists are used extensively in dma-capable devices; a
single data structure allows more code reuse later on.
Signed-off-by: Avi Kivity <[email protected] >
Signed-off-by: Anthony Liguori <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6522
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 5 Feb 2009 20:22:07 +0000 (20:22 +0000)]
Add debug, savevm and reset support for UniNorth
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6521
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 5 Feb 2009 20:20:29 +0000 (20:20 +0000)]
Use qemu_ram_alloc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6520
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 5 Feb 2009 13:42:57 +0000 (13:42 +0000)]
target-ppc: add vrlogefp instruction
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6519
c046a42c -6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 5 Feb 2009 13:42:47 +0000 (13:42 +0000)]
soft-float: add float32_log2() and float64_log2()
Signed-off-by: Aurelien Jarno <[email protected] >
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6518
c046a42c -6fe2-441c-8c8c-
71466251a162
malc [Wed, 4 Feb 2009 20:39:09 +0000 (20:39 +0000)]
Properly initialize len argument of sysctl and include stdio.h (perror)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6517
c046a42c -6fe2-441c-8c8c-
71466251a162
This page took 0.083634 seconds and 4 git commands to generate.