gpa_t addr, int len, const void *val) { struct kvm_coalesced_mmio_dev *dev = to_mmio(this); struct kvm_coalesced_mmio_ring *ring = dev->kvm->coalesced_mmio_ring; if (!coalesced_mmio_in_range(dev, addr, len)) return -EOPNOTSUPP; spin_lock(&dev->kvm->ring_lock); if (!coale...
avail = (ring->first - last - 1) % KVM_COALESCED_MMIO_MAX; if (avail == 0) /* full */ Because negative values are handled using two's complement, and KVM computes the result as an unsigned value, the above will get a false positive if "first < last" and the ring is half-...
51CTO博客已为您找到关于coalesced MMIO的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及coalesced MMIO问答内容。更多coalesced MMIO相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。