guest_intr_string()

Convert a guest interrupt to a string representation

Synopsis:

#include <qvm/guest.h>
size_t guest_intr_string(const struct guest_intr *gip,
                         char *buf,
                         size_t buf_len)

Arguments:

gip
The guest interrupt to convert.
buf
The buffer to store the string in.
buf_len
The length of the buffer.

Library:

Provided by qvm; no external library is required.

Returns:

The number of characters in the string.