Statistics
| Branch: | Revision:

root / hw / i386 / kvm @ c428c5a2

Name Size
Makefile.objs 62 Bytes
apic.c 5.9 kB
clock.c 3.7 kB
i8254.c 9.8 kB
i8259.c 4.2 kB
ioapic.c 4.2 kB
pci-assign.c 62.4 kB

Latest revisions

# Date Author Comment
d3b0c9e9 12/24/2013 07:02 pm xiaoqiang zhao

apic: Cleanup for QOM'ification

Do some cleanup, including:
1. Remove DO_UPCAST() for APICCommonState
2. Change DeviceState pointers from 'd' to 'dev', better to understand
3. Rename 'register_types' to specifically 'apic_common_register_types'

Signed-off-by: xiaoqiang zhao <>...

ff6986ce 12/24/2013 07:02 pm xiaoqiang zhao

apic: QOM'ify APIC

Convert 'init' function to QOM's 'realize' for apic, kvm/apic and
xen/xen_apic.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

f9771858 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: Cleanup for QOM'ification

Some cleanups:
  • ioapic_common.c: Rename 'register_types' to 'ioapic_common_register_types'
  • Replace inline 'DEVICE' with local 'DeviceState *dev' variable

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

db0f8888 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: QOM'ify ioapic

Convert 'init' function to QOM's 'realize' for ioapic and kvm-ioapic.
Change variable 'ioapic_no' from static to global. Then we can drop
the 'instance_no' function argument.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

efec3dd6 12/23/2013 01:27 am Markus Armbruster

qdev: Replace no_user by cannot_instantiate_with_device_add_yet

In an ideal world, machines can be built by wiring devices together
with configuration, not code. Unfortunately, that's not the world we
live in right now. We still have quite a few devices that need to be...

837d3716 12/23/2013 01:27 am Markus Armbruster

sysbus: Set cannot_instantiate_with_device_add_yet

device_add plugs devices into suitable bus. For "real" buses, that
actually connects the device. For sysbus, the connections need to be
made separately, and device_add can't do that. The device would be...

0a3c7385 11/21/2013 05:09 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  1. By Jan Kiszka (1) and others
  2. Via Gleb Natapov
    • qemu-kvm/uq/master:
      kvm: Fix uninitialized cpuid_data
      pci-assign: Remove dead code for direct I/O region access from userspace
      KVM: x86: fix typo in KVM_GET_XCRS...
25a666d2 11/13/2013 01:48 pm Cole Robinson

pci-assign: Fix error_report of pci-stub message

Using multiple calls to error_report here means every line is
prefaced with the (potentially long) pci-assign command line
arguments.

Use a single error_printf to preserve the intended formatting.
Since this code path is always preceded by an error_report call,...

3a902bab 11/07/2013 01:10 pm Jan Kiszka

pci-assign: Remove dead code for direct I/O region access from userspace

This feature was already deprecated back then in qemu-kvm, ie. before
pci-assign went upstream. assigned_dev_ioport_rw will never be invoked
with resource_fd < 0.

Signed-off-by: Jan Kiszka <>...

e76d05c2 09/20/2013 07:11 pm Stefan Weil

kvm: Fix compiler warning (clang)

Report from clang analyzer:

clock.c:42:15: warning:
Value stored to 'cpu' during its initialization is never read

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

View revisions

Also available in: Atom