diff options
| author | Alexey Kardashevskiy | 2013-07-18 21:32:59 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-07-29 17:37:08 +0200 |
| commit | 8ca8a17c9a16eb3b2fedb3c74687c429e9cfc6aa (patch) | |
| tree | 029df6f90eaa71ba5e2a8895917ae970462c2b93 /include | |
| parent | spapr-tce: make sPAPRTCETable a proper device (diff) | |
| download | qemu-8ca8a17c9a16eb3b2fedb3c74687c429e9cfc6aa.tar.gz qemu-8ca8a17c9a16eb3b2fedb3c74687c429e9cfc6aa.tar.xz qemu-8ca8a17c9a16eb3b2fedb3c74687c429e9cfc6aa.zip | |
pseries: rework PAPR virtual SCSI
The patch reimplements handling of indirect requests in order to
simplify upcoming live migration support.
- all pointers (except SCSIRequest*) were replaces with integer
indexes and offsets;
- DMA'ed srp_direct_buf kept untouched (ie. BE format);
- vscsi_fetch_desc() is added, now it is the only place where
descriptors are fetched and byteswapped;
- vscsi_req struct fields converted to migration-friendly types;
- many dprintf()'s fixed.
This also removed an unused field 'lun' from the spapr_vscsi device
which is assigned, but never used. So, remove it.
[David Gibson: removed unused 'lun']
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-id: 1374175984-8930-7-git-send-email-aliguori@us.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
