Message ID | 1334803149-27379-2-git-send-email-zwu.kernel@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c index 45d54fa..ff5d351 100644 --- a/hw/virtio-scsi.c +++ b/hw/virtio-scsi.c @@ -13,6 +13,8 @@ * */ +#include "qemu-common.h" +#include "qemu-error.h" #include "virtio-scsi.h" #include <hw/scsi.h> #include <hw/scsi-defs.h> diff --git a/hw/virtio-scsi.h b/hw/virtio-scsi.h index 4bc889d..895f620 100644 --- a/hw/virtio-scsi.h +++ b/hw/virtio-scsi.h @@ -33,4 +33,10 @@ struct VirtIOSCSIConf { DEFINE_PROP_UINT32("max_sectors", _state, _conf_field.max_sectors, 0xFFFF), \ DEFINE_PROP_UINT32("cmd_per_lun", _state, _conf_field.cmd_per_lun, 128) +typedef struct { + /* The tcm_vhost wwpn and tgpt */ + char *wwpn; + char *tgpt; +} VirtIOSCSIConf; + #endif /* _QEMU_VIRTIO_SCSI_H */