Home
last modified time | relevance | path

Searched refs:vm_ram_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvirtio-balloon.c756 ram_addr_t vm_ram_size = get_current_ram_size(); in virtio_balloon_set_config() local
761 qapi_event_send_balloon_change(vm_ram_size - in virtio_balloon_set_config()
792 ram_addr_t vm_ram_size = get_current_ram_size(); in virtio_balloon_to_target() local
794 if (target > vm_ram_size) { in virtio_balloon_to_target()
795 target = vm_ram_size; in virtio_balloon_to_target()
798 dev->num_pages = (vm_ram_size - target) >> VIRTIO_BALLOON_PFN_SHIFT; in virtio_balloon_to_target()
/openbmc/qemu/qapi/
H A Dmachine.json1132 # logical_vm_size = vm_ram_size - balloon_size
1134 # From it we have: balloon_size = vm_ram_size - @value
1165 # logical_vm_size = vm_ram_size - balloon_size
1204 # logical_vm_size = vm_ram_size - balloon_size