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.c770 ram_addr_t vm_ram_size = get_current_ram_size(); in virtio_balloon_set_config() local
775 qapi_event_send_balloon_change(vm_ram_size - in virtio_balloon_set_config()
806 ram_addr_t vm_ram_size = get_current_ram_size(); in virtio_balloon_to_target() local
808 if (target > vm_ram_size) { in virtio_balloon_to_target()
809 target = vm_ram_size; in virtio_balloon_to_target()
812 dev->num_pages = (vm_ram_size - target) >> VIRTIO_BALLOON_PFN_SHIFT; in virtio_balloon_to_target()
/openbmc/qemu/qapi/
H A Dmachine.json1131 # logical_vm_size = vm_ram_size - balloon_size
1133 # From it we have: balloon_size = vm_ram_size - @value
1164 # logical_vm_size = vm_ram_size - balloon_size
1203 # logical_vm_size = vm_ram_size - balloon_size