X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fserial.c;h=1ca3f138c25bcb190dff1eb6eff05457720ce903;hb=e2964f7234daa3429275c039769a313f0870c212;hp=a39842d75618ce7fa9f504a73f5dcfc263447a45;hpb=3b250574aa0961aea7cc3ac3ca65f3e76672b977;p=palacios.git diff --git a/palacios/src/devices/serial.c b/palacios/src/devices/serial.c index a39842d..1ca3f13 100644 --- a/palacios/src/devices/serial.c +++ b/palacios/src/devices/serial.c @@ -834,7 +834,7 @@ static int read_status_port(struct guest_info * core, uint16_t port, void * dst, return length; } -static int serial_deinit(struct vm_device * dev) { +static int serial_free(struct vm_device * dev) { return 0; } @@ -842,9 +842,7 @@ static int serial_deinit(struct vm_device * dev) { static struct v3_device_ops dev_ops = { - //.init = serial_init, - .free = serial_deinit, - .reset = NULL, + .free = serial_free, };