guest_write_core_file()

Write out the guest core file

Synopsis:

#include <qvm/guest.h>
int guest_write_core_file(struct guest_system *gsp)

Arguments:

gsp
A pointer to the guest system.

Library:

Provided by qvm; no external library is required.

Description:

For this function to produce a dump, you must specify the dump option in the hosting VM's configuration.

Returns:

0 on success, or -1 if unsuccessful.