qemu-e2k/hw
aliguori bd3220870f Add virtio-balloon support
This adds a VirtIO based balloon driver.  It uses madvise() to actually balloon
the memory when possible.

Until 2.6.27, KVM forced memory pinning so we must disable ballooning unless the
kernel actually supports it when using KVM.  It's always safe when using TCG.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5874 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-04 20:33:06 +00:00
..
ac97.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
acpi.c Add KVM support to QEMU 2008-11-05 16:04:33 +00:00
adb.c
adlib.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
ads7846.c
alpha_palcode.c target-alpha: fix syscall error check 2008-11-11 13:42:22 +00:00
an5206.c uImage: rename load_uboot() to load_uimage() (Hollis Blanchard) 2008-11-20 22:14:40 +00:00
apb_pci.c
apic.c hw/apic.c: use functions from host-utils.h 2008-10-12 20:16:03 +00:00
arm_boot.c uImage: rename load_uboot() to load_uimage() (Hollis Blanchard) 2008-11-20 22:14:40 +00:00
arm_gic.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
arm_pic.c
arm_sysctl.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
arm_timer.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
arm-misc.h Fix warnings that would be caused by ld flag --warn-common 2008-09-17 19:04:14 +00:00
armv7m_nvic.c Fix warnings that would be caused by ld flag --warn-common 2008-09-17 19:04:14 +00:00
armv7m.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
audiodev.h
baum.c
baum.h
blizzard_template.h
blizzard.c Introduce accessors for DisplayState (Stefano Stabellini) 2008-11-24 19:29:13 +00:00
boards.h machine struct - specify max_cpus at the per machine level (Jes Sorensen) 2008-10-07 20:39:39 +00:00
bt-hci-csr.c Emulate a serial bluetooth HCI with H4+ extensions and attach to n8x0's UART. 2008-09-28 23:34:13 +00:00
bt-hci.c Add qemu_strndup: qemu_strdup with length limit. 2008-11-09 00:28:40 +00:00
bt-hid.c Bluetooth HIDP emulation on top of usb-hid.c and L2CAP and SDP. 2008-09-29 00:25:17 +00:00
bt-l2cap.c Add L2CAP logic and a virtual SDP server for use in emulated devices. 2008-09-29 00:14:22 +00:00
bt-sdp.c Fix a bad memcpy length (Bruce Rogers). 2008-10-25 00:10:20 +00:00
bt.c Add a "null" bluetooth HCI and a header file for bluetooth. 2008-09-28 23:19:47 +00:00
bt.h Use VHCI to allow the host os to participate in a qemu bluetooth "vlan". 2008-09-29 00:31:41 +00:00
cbus.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
cdrom.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c vga optimization (Glauber Costa) 2008-11-24 20:21:41 +00:00
cs4231.c Remove address masking 2008-12-02 17:47:02 +00:00
cs4231a.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
cuda.c
devices.h SM501 emulation for R2D-SH4 2008-11-05 20:24:35 +00:00
dma.c Make DMA bottom-half driven (v2) 2008-10-31 17:25:56 +00:00
ds1225y.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
dummy_m68k.c uImage: rename load_uboot() to load_uimage() (Hollis Blanchard) 2008-11-20 22:14:40 +00:00
e1000_hw.h
e1000.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
ecc.c
eccmemctl.c Remove address masking 2008-12-02 17:47:02 +00:00
eepro100.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
eeprom93xx.c
eeprom93xx.h
es1370.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
esp.c Remove address masking 2008-12-02 17:47:02 +00:00
etraxfs_dma.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
etraxfs_dma.h ETRAX-FS: Make etraxfs_dmac_run local. 2008-11-04 20:29:29 +00:00
etraxfs_eth.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
etraxfs_pic.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
etraxfs_ser.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
etraxfs_timer.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
etraxfs.c ETRAX-FS: Fix a segfault if pflash drive not found. 2008-11-13 21:10:25 +00:00
etraxfs.h
fdc.c Remove address masking 2008-12-02 17:47:02 +00:00
fdc.h
firmware_abi.h
flash.h
fmopl.c
fmopl.h
fw_cfg.c Move nographic export to sysemu.h 2008-10-04 07:22:29 +00:00
fw_cfg.h Add common keys to firmware configuration 2008-09-18 18:33:18 +00:00
g364fb_template.h Introduce accessors for DisplayState (Stefano Stabellini) 2008-11-24 19:29:13 +00:00
g364fb.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
grackle_pci.c
gt64xxx.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
gumstix.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
gus.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
gusemu_hal.c
gusemu_mixer.c
gusemu.h
gustate.h
heathrow_pic.c
hw.h Reintroduce migrate-to-exec: support (Charles Duffy) 2008-11-11 16:46:33 +00:00
i2c.c
i2c.h Don't use "hz" in identifiers to make AIX happy. 2008-11-12 17:36:08 +00:00
i8254.c
i8259.c
ide.c Abstract out geometry detection code from IDE for reuse 2008-11-25 21:50:24 +00:00
integratorcp.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
iommu.c More consistent PAGE_xxx defines, avoid conflicting with system PAGE_xxx 2008-12-03 16:29:47 +00:00
irq.c
irq.h
isa_mmio.c
isa.h Make DMA bottom-half driven (v2) 2008-10-31 17:25:56 +00:00
jazz_led.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
lm832x.c
lsi53c895a.c Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper) 2008-11-20 16:46:21 +00:00
m48t59.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
mac_dbdma.c
mac_nvram.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
macio.c
mainstone.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
mainstone.h
max111x.c
max7310.c
mc146818rtc.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
mcf5206.c
mcf5208.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
mcf_fec.c
mcf_intc.c
mcf_uart.c
mcf.h
mips_int.c
mips_jazz.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
mips_malta.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
mips_mipssim.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
mips_r4k.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
mips_timer.c MIPS: remove empty cpu_mips_irqctrl_init() 2008-09-14 16:38:57 +00:00
mips.h MIPS: remove empty cpu_mips_irqctrl_init() 2008-09-14 16:38:57 +00:00
mipsnet.c
mpcore.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
mst_fpga.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
musicpal.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
nand.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
ne2000.c
nseries.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
nvram.h Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings 2008-09-20 08:07:15 +00:00
omap1.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
omap2.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
omap_clk.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
omap_dma.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
omap_dss.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
omap_i2c.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
omap_lcd_template.h
omap_lcdc.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
omap_mmc.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
omap.h Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
onenand.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
openpic.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
palm.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
parallel.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pc.c Add virtio-balloon support 2008-12-04 20:33:06 +00:00
pc.h better type checking for vga (Glauber Costa) 2008-11-24 19:33:59 +00:00
pci_host.h
pci.c Make PCI class description tables const 2008-10-02 18:33:50 +00:00
pci.h
pckbd.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pcmcia.h
pcnet.c Remove address masking 2008-12-02 17:47:02 +00:00
pcspk.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
pflash_cfi01.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pflash_cfi02.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
piix_pci.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
pixel_ops.h
pl011.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl022.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl031.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl050.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl061.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl080.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl110_template.h
pl110.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl181.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pl190.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
ppc4xx_devs.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
ppc4xx_pci.c IBM PowerPC 4xx 32-bit PCI controller emulation 2008-12-02 23:53:50 +00:00
ppc4xx.h IBM PowerPC 4xx 32-bit PCI controller emulation 2008-12-02 23:53:50 +00:00
ppc405_boards.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
ppc405_uc.c Use qemu-log.h 2008-10-04 07:20:07 +00:00
ppc405.h
ppc_chrp.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
ppc_mac.h
ppc_oldworld.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
ppc_prep.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
ppc.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
ppc.h Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
prep_pci.c
primecell.h
ps2.c
ps2.h
ptimer.c Resurrect the safe part of r5274 2008-10-02 19:14:17 +00:00
pxa2xx_dma.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_gpio.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_keypad.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_lcd.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_mmci.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_pcmcia.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_pic.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx_template.h Fix RGBT 5:5:5 drawing on pxa2xx lcd (Lars Munch) 2008-11-03 01:08:14 +00:00
pxa2xx_timer.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa2xx.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
pxa.h Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
r2d.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
rc4030.c Don't use "hz" in identifiers to make AIX happy. 2008-11-12 17:36:08 +00:00
realview_gic.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
realview.c Set default max_cpus to one. 2008-10-28 10:59:59 +00:00
rtl8139.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
sb16.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
sbi.c Remove address masking 2008-12-02 17:47:02 +00:00
scsi-disk.c Correct SCSI error reporting (Laurent Vivier) 2008-10-11 09:33:03 +00:00
scsi-disk.h
scsi-generic.c scsi-generic: correct error management 2008-10-17 08:08:56 +00:00
scsi.h
sd.c
sd.h
serial.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
sh7750_regnames.c
sh7750_regnames.h
sh7750_regs.h
sh7750.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
sh_intc.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
sh_intc.h SH4: Use qemu_irq in timer emulation. 2008-11-21 21:06:42 +00:00
sh_serial.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
sh_timer.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
sh.h SH4: Switch serial emulation to qemu_irq 2008-11-21 21:06:51 +00:00
sharpsl.h
shix.c Make DMA bottom-half driven (v2) 2008-10-31 17:25:56 +00:00
slavio_intctl.c Remove address masking after some rearranging 2008-12-02 17:51:19 +00:00
slavio_misc.c Remove address masking after some rearranging 2008-12-02 17:51:19 +00:00
slavio_serial.c Remove address masking 2008-12-02 17:47:02 +00:00
slavio_timer.c Remove address masking 2008-12-02 17:47:02 +00:00
sm501_template.h SM501 emulation for R2D-SH4 2008-11-05 20:24:35 +00:00
sm501.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
smbus_eeprom.c
smbus.c
smbus.h
smc91c111.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
soc_dma.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
soc_dma.h
sparc32_dma.c Remove address masking 2008-12-02 17:47:02 +00:00
sparc32_dma.h
spitz.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
ssd0303.c Introduce accessors for DisplayState (Stefano Stabellini) 2008-11-24 19:29:13 +00:00
ssd0323.c Introduce accessors for DisplayState (Stefano Stabellini) 2008-11-24 19:29:13 +00:00
ssi-sd.c
stellaris_enet.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
stellaris_input.c
stellaris.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
sun4c_intctl.c Remove address masking 2008-12-02 17:47:02 +00:00
sun4m.c Don't rely on the fact that MAX_FD is 2 (Herve Poussineau) 2008-11-29 16:42:40 +00:00
sun4m.h Halt the CPU using a qemu_irq 2008-11-02 10:51:05 +00:00
sun4u.c Use qemu_ram_alloc 2008-11-05 19:25:39 +00:00
tc6393xb_template.h Introduce accessors for DisplayState (Stefano Stabellini) 2008-11-24 19:29:13 +00:00
tc6393xb.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
tc58128.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
tcx.c Remove address masking 2008-12-02 17:47:02 +00:00
tmp105.c Resurrect the safe part of r5274 2008-10-02 19:14:17 +00:00
tosa.c tc6393xb: non-accelerated FB support (Dmitry Baryshkov). 2008-11-04 09:04:41 +00:00
tsc210x.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
tsc2005.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
tusb6010.c Fix undeclared symbol warnings from sparse 2008-10-26 13:43:07 +00:00
twl92230.c Don't use "hz" in identifiers to make AIX happy. 2008-11-12 17:36:08 +00:00
unin_pci.c
usb-bt.c Document bluetooth support in qemu-doc. 2008-11-09 02:24:54 +00:00
usb-hid.c Bluetooth HIDP emulation on top of usb-hid.c and L2CAP and SDP. 2008-09-29 00:25:17 +00:00
usb-hub.c
usb-msd.c
usb-musb.c
usb-net.c Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings 2008-09-20 08:07:15 +00:00
usb-ohci.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
usb-serial.c Implement "info chardev" command. (Gerd Hoffmann) 2008-10-31 17:31:29 +00:00
usb-uhci.c uhci: Change default transaction lifetime to 32 frames (Max Krasnyansky) 2008-09-11 19:42:00 +00:00
usb-wacom.c
usb.c
usb.h Emulate a USB bluetooth dongle (or HCI Transport layer). 2008-09-29 00:40:44 +00:00
versatile_pci.c
versatilepb.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
vga_int.h Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
vga_template.h
vga.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
virtio-balloon.c Add virtio-balloon support 2008-12-04 20:33:06 +00:00
virtio-balloon.h Add virtio-balloon support 2008-12-04 20:33:06 +00:00
virtio-blk.c Add virtio-blk support 2008-12-04 19:52:44 +00:00
virtio-blk.h Add virtio-blk support 2008-12-04 19:52:44 +00:00
virtio.c Remove TARGET_PAGE_SIZE from virtio interface (Hollis Blanchard) 2008-12-04 19:58:45 +00:00
virtio.h Remove TARGET_PAGE_SIZE from virtio interface (Hollis Blanchard) 2008-12-04 19:58:45 +00:00
vmmouse.c
vmport.c
vmware_vga.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00
wm8750.c Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
zaurus.c Change MMIO callbacks to use offsets, not absolute addresses. 2008-12-01 18:59:50 +00:00