guest_write_all_ones()
Write a series of ones to a guest CPU (i.e., a vCPU)
Synopsis:
#include <qvm/guest.h>int guest_write_all_ones(struct guest_cpu *gcp,
guest_cpu_access_flags_t flags,
const struct qvm_state_block *blk)Arguments:
- gcp
- A pointer to the destination vCPU.
- flags
- A bitfield of GXF_* flags for configuring the behavior of read or write requests.
- blk
- A pointer to the qvm_state_block array for destination information.
Description:
Call this function to respond to an invalid request from the guest's vCPU. This function is typically used by the vdev's vread() and vwrite() callbacks.
Returns:
EOK if successful; otherwise, an error code.
Page updated:
