guest_write_all_ones()
Write a series of ones to a vCPU (e.g., for a 32-bit target: FFFF FFFF)
Synopsis:
#include <qvm/guest.h>int guest_write_all_ones(struct guest_cpu *gcp,
unsigned flags,
const struct qvm_state_block *blk)Arguments:
- gcp
- A pointer to the destination vCPU.
- flags
- Read and write request (GXF_*) flags.
- 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:
