Home
last modified time | relevance | path

Searched refs:VHOST_LOG_PAGE (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/include/hw/virtio/
H A Dvhost.h43 #define VHOST_LOG_PAGE 0x1000 macro
45 #define VHOST_LOG_CHUNK (VHOST_LOG_PAGE * VHOST_LOG_BITS)
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c67 #define VHOST_LOG_PAGE 0x1000 macro
738 log_size = MAX(log_size, last / (8 * VHOST_LOG_PAGE) + 1); in get_log_size()
844 g_assert_cmpint(size, ==, (256 * 1024 * 1024) / (VHOST_LOG_PAGE * 8)); in test_migrate()
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.h27 #define VHOST_LOG_PAGE 4096 macro
H A Dlibvhost-user.c738 assert(dev->log_size > ((address + length - 1) / VHOST_LOG_PAGE / 8)); in vu_log_write()
740 page = address / VHOST_LOG_PAGE; in vu_log_write()
741 while (page * VHOST_LOG_PAGE < address + length) { in vu_log_write()
/openbmc/qemu/hw/virtio/
H A Dvhost.c125 page_addr = addr + bit * VHOST_LOG_PAGE; in vhost_dev_sync_region()
128 memory_region_set_dirty(section->mr, mr_offset, VHOST_LOG_PAGE); in vhost_dev_sync_region()
/openbmc/qemu/docs/interop/
H A Dvhost-user.rst541 #define VHOST_LOG_PAGE 0x1000
553 page = addr / VHOST_LOG_PAGE