qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

hw/net/e1000e_core: Let e1000e_can_receive() return a boolean

The e1000e_can_receive() function simply returns a boolean value.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

authored by

Philippe Mathieu-Daudé and committed by
Jason Wang
205ce567 f22a57ac

+2 -2
+1 -1
hw/net/e1000e_core.c
··· 967 967 } 968 968 } 969 969 970 - int 970 + bool 971 971 e1000e_can_receive(E1000ECore *core) 972 972 { 973 973 int i;
+1 -1
hw/net/e1000e_core.h
··· 143 143 void 144 144 e1000e_core_pci_uninit(E1000ECore *core); 145 145 146 - int 146 + bool 147 147 e1000e_can_receive(E1000ECore *core); 148 148 149 149 ssize_t