53a2e1b5 | 17-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: remove server_sock from VusDev
It is unneeded in the VusDev device structure, and also simplify a bit the code.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Revie
vhost-user-scsi: remove server_sock from VusDev
It is unneeded in the VusDev device structure, and also simplify a bit the code.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
422a2687 | 17-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: use glib logging
- PLOG is unused - code is compiled out unless debug is enabled - logging is too verbose - you can pipe to ts to have timestamp if needed, or use structured loggi
vhost-user-scsi: use glib logging
- PLOG is unused - code is compiled out unless debug is enabled - logging is too verbose - you can pipe to ts to have timestamp if needed, or use structured logging with more recent glib
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
3e7bd3ad | 17-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: drop extra callback pointer
Use the one from the source with casting, like any other glib source.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philip
vhost-user-scsi: drop extra callback pointer
Use the one from the source with casting, like any other glib source.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
49a48824 | 17-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: don't copy iscsi/scsi-lowlevel.h
There is no need to include hw/virtio/virtio-scsi.h, then the conflict with SCSI_XFER enum goes away.
Signed-off-by: Marc-André Lureau <marcandre.l
vhost-user-scsi: don't copy iscsi/scsi-lowlevel.h
There is no need to include hw/virtio/virtio-scsi.h, then the conflict with SCSI_XFER enum goes away.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
ca853813 | 17-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: avoid use of iscsi_ namespace
It is confusing and could easily conflict with future versions.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe M
vhost-user-scsi: avoid use of iscsi_ namespace
It is confusing and could easily conflict with future versions.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
ade9ab22 | 17-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: rename VUS types
- use Vus prefix consistently - use CamelCase, since that's glib & libvhost-user style - avoid _t postfix, usually for system headers
Signed-off-by: Marc-André Lur
vhost-user-scsi: rename VUS types
- use Vus prefix consistently - use CamelCase, since that's glib & libvhost-user style - avoid _t postfix, usually for system headers
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
d0dba9f4 | 16-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: remove VUS_MAX_LUNS
There is no code to support more than 1 yet, no need for that today.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathie
vhost-user-scsi: remove VUS_MAX_LUNS
There is no code to support more than 1 yet, no need for that today.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|
fa2cd143 | 16-Aug-2017 |
Marc-André Lureau <marcandre.lureau@redhat.com> |
vhost-user-scsi: assert() in iscsi_add_lun()
Instead of a preliminary check, add an assert to the function that has the pre-condition.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
vhost-user-scsi: assert() in iscsi_add_lun()
Instead of a preliminary check, add an assert to the function that has the pre-condition.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
show more ...
|