Eric Blake <[email protected]> wrote on 03/10/2014 05:49:54 PM:

> 
> Indeed:
> 
> $ git grep memset.*1
> src/conf/domain_conf.c:    memset(max_idx, -1, sizeof(max_idx));
> src/qemu/qemu_command.c:        memset(tapfd, -1, tapfdSize *
> sizeof(tapfd[0]));
> src/qemu/qemu_command.c:        memset(vhostfd, -1, vhostfdSize *
> sizeof(vhostfd[0]));
> 
> So let's just copy that convention, instead of adding a new macro.
> 
> ACK to the qemu_hotplug fixes if you switch to raw memset.

Pushed.
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to