Home
last modified time | relevance | path

Searched refs:balloon (Results 1 – 25 of 30) sorted by relevance

12

/qemu/hw/hyperv/
H A Dhv-balloon.c187 static uint64_t hv_balloon_total_our_ram(HvBalloon *balloon) in hv_balloon_total_our_ram() argument
189 if (!balloon->our_range) { in hv_balloon_total_our_ram()
193 return balloon->our_range->range.added; in hv_balloon_total_our_ram()
230 static uint64_t hv_balloon_total_ram(HvBalloon *balloon) in hv_balloon_total_ram() argument
234 uint64_t our_ram_size_pages = hv_balloon_total_our_ram(balloon); in hv_balloon_total_ram()
245 static uint64_t hv_balloon_total_removed_rs(HvBalloon *balloon, in hv_balloon_total_removed_rs() argument
250 total_removed = SUM_SATURATE_U64(balloon->removed_guest_ctr, in hv_balloon_total_removed_rs()
251 balloon->removed_both_ctr); in hv_balloon_total_removed_rs()
262 static bool hv_balloon_state_set(HvBalloon *balloon, in hv_balloon_state_set() argument
265 if (newst == S_NO_CHANGE || balloon->state == newst) { in hv_balloon_state_set()
[all …]
H A Dmeson.build5 …dd(when: 'CONFIG_HV_BALLOON', if_true: files('hv-balloon.c', 'hv-balloon-page_range_tree.c', 'hv-b…
6 system_ss.add(when: 'CONFIG_HV_BALLOON', if_false: files('hv-balloon-stub.c'))
H A Dtrace-events20 # hv-balloon
28 hv_balloon_outgoing_balloon(uint32_t trans_id, uint64_t count, uint64_t rempages) "posting balloon
29 …(uint32_t trans_id, uint32_t range_count, uint32_t more_pages) "incoming balloon response %"PRIu32…
/qemu/tests/qtest/libqos/
H A Dvirtio-balloon.c44 return qvirtio_balloon_get_driver(&v_balloon->balloon, interface); in qvirtio_balloon_device_get_driver()
52 QVirtioBalloon *interface = &virtio_bdevice->balloon; in virtio_balloon_device_create()
69 return qvirtio_balloon_get_driver(&v_balloon->balloon, interface); in qvirtio_balloon_pci_get_driver()
76 QVirtioBalloon *interface = &virtio_bpci->balloon; in virtio_balloon_pci_create()
H A Dvirtio-balloon.h36 QVirtioBalloon balloon; member
41 QVirtioBalloon balloon; member
H A Dmeson.build36 'virtio-balloon.c',
/qemu/docs/interop/
H A Dvirtio-balloon-stats.rst1 Virtio balloon memory statistics
4 The virtio balloon driver supports guest memory statistics reporting. These
20 Once polling is enabled, the virtio-balloon device in QEMU will start
21 polling the guest's balloon driver for new stats in the specified time
58 or the balloon driver wasn't loaded in the guest. If this is the case
66 Here are a few examples. QEMU is started with ``-device virtio-balloon``,
68 the balloon device.
H A Dvhost-user.json22 # @balloon: virtio balloon
43 'balloon',
H A Dindex.rst30 virtio-balloon-stats
/qemu/qapi/
H A Dmachine.json1124 # @balloon:
1126 # Request the balloon driver to change its balloon size.
1129 # the size of the balloon using this formula:
1136 # - If the balloon driver is enabled but not functional because
1138 # - If no balloon device is present, DeviceNotActive
1141 # returns, the balloon size may not have changed. A guest can
1142 # change the balloon size independent of this command.
1156 { 'command': 'balloon', 'data': {'value': 'int'} }
1161 # Information about the guest balloon device.
1171 # @query-balloon:
[all …]
/qemu/docs/system/
H A Dvm-templating.rst97 virtio-balloon
100 virtio-balloon inflation and "free page reporting" cannot discard VM RAM
101 and will repeatedly report errors. While virtio-balloon can be used
103 should be disabled and the balloon should not be inflated.
/qemu/system/
H A Dmeson.build11 'balloon.c',
H A Dtrace-events3 # balloon.c
/qemu/hw/virtio/
H A Dmeson.build52 specific_virtio_ss.add(when: 'CONFIG_VIRTIO_BALLOON', if_true: files('virtio-balloon.c'))
76 virtio_pci_ss.add(when: 'CONFIG_VIRTIO_BALLOON', if_true: files('virtio-balloon-pci.c'))
H A Dvirtio-balloon.c78 static void balloon_inflate_page(VirtIOBalloon *balloon, in balloon_inflate_page() argument
143 static void balloon_deflate_page(VirtIOBalloon *balloon, in balloon_deflate_page() argument
H A Dtrace-events90 # virtio-balloon.c
96 virtio_balloon_to_target(uint64_t target, uint32_t num_pages) "balloon target: 0x%"PRIx64" num_page…
/qemu/docs/devel/
H A Dvfio-iommufd.rst163 …-system-x86_64: -device vfio-pci,iommufd=iommufd0,x-balloon-allowed=on,fd=9: vfio VFIO_FD9: x-ball…
/qemu/include/hw/hyperv/
H A Ddynmem-proto.h100 uint64_t balloon:1; member
/qemu/
H A Dhmp-commands-info.hx516 .name = "balloon",
519 .help = "show balloon information",
524 ``info balloon``
525 Show balloon information.
H A DMAINTAINERS2313 virtio-balloon
2317 F: docs/interop/virtio-balloon-stats.rst
2318 F: hw/virtio/virtio-balloon*.c
2319 F: include/hw/virtio/virtio-balloon.h
2320 F: system/balloon.c
2321 F: include/system/balloon.h
2322 F: tests/qtest/virtio-balloon-test.c
2859 F: hw/hyperv/hv-balloon*.c
2860 F: hw/hyperv/hv-balloon*.h
2862 F: include/hw/hyperv/hv-balloon.h
/qemu/hw/s390x/
H A Dmeson.build39 virtio_ss.add(when: 'CONFIG_VIRTIO_BALLOON', if_true: files('virtio-ccw-balloon.c'))
/qemu/docs/specs/
H A Dpci-ids.rst23 balloon device (legacy)
/qemu/scripts/
H A Dmeson-buildoptions.sh342 --enable-hv-balloon) printf "%s" -Dhv_balloon=enabled ;;
343 --disable-hv-balloon) printf "%s" -Dhv_balloon=disabled ;;
/qemu/docs/about/
H A Dremoved-features.rst82 ``-balloon`` (removed in 3.1)
85 The ``-balloon virtio`` option has been replaced by ``-device virtio-balloon``.
86 The ``-balloon none`` option was a no-op and has no replacement.
/qemu/tests/qtest/
H A Dmeson.build92 (config_all_devices.has_key('CONFIG_VIRTIO_BALLOON') ? ['virtio-balloon-test'] : []) + \

12