vio_device_status()
Update the VIRTIO status register for the device
Synopsis:
#include <qvm/vio.h>unsigned vio_device_status(struct vio_state *vsp,
unsigned on,
unsigned off)Arguments:
- vsp
- A pointer to the vdev's state structure.
- on
- Bits the device wants to turn on in the status register.
- off
- Bits the device wants to turn off in the status register.
Returns:
The updated value for the status register.
Page updated:
