memcpy(config_data, &vser->config, sizeof(struct virtio_console_config));
}
-static void set_config(VirtIODevice *vdev, const uint8_t *config_data)
-{
- struct virtio_console_config config;
-
- memcpy(&config, config_data, sizeof(config));
-}
-
static void guest_reset(VirtIOSerial *vser)
{
VirtIOSerialPort *port;
vdc->unrealize = virtio_serial_device_unrealize;
vdc->get_features = get_features;
vdc->get_config = get_config;
- vdc->set_config = set_config;
vdc->set_status = set_status;
vdc->reset = vser_reset;
}