| 1 | = 2008-12-16 = |
| 2 | |
| 3 | * Qlogic FC HBA 編譯問題追蹤 |
| 4 | * |
| 5 | * |
| 6 | {{{ |
| 7 | #!diff |
| 8 | --- /home/jazz/linux-2.6-2.6.18.dfsg.1/include/scsi/scsi_cmnd.h 2006-09-20 11:42:06.000000000 +0800 |
| 9 | +++ /usr/src/linux-headers-2.6.26-1-686-bigmem/include/scsi/scsi_cmnd.h 2008-07-14 05:51:29.000000000 +0800 |
| 10 | @@ -57,21 +78,16 @@ |
| 11 | int allowed; |
| 12 | int timeout_per_command; |
| 13 | |
| 14 | - unsigned char cmd_len; |
| 15 | + unsigned short cmd_len; |
| 16 | enum dma_data_direction sc_data_direction; |
| 17 | |
| 18 | /* These elements define the operation we are about to perform */ |
| 19 | -#define MAX_COMMAND_SIZE 16 |
| 20 | - unsigned char cmnd[MAX_COMMAND_SIZE]; |
| 21 | - unsigned request_bufflen; /* Actual request size */ |
| 22 | + unsigned char *cmnd; |
| 23 | |
| 24 | struct timer_list eh_timeout; /* Used to time out the command. */ |
| 25 | - void *request_buffer; /* Actual requested buffer */ |
| 26 | |
| 27 | /* These elements define the operation we ultimately want to perform */ |
| 28 | - unsigned short use_sg; /* Number of pieces of scatter-gather */ |
| 29 | - unsigned short sglist_len; /* size of malloc'd scatter-gather list */ |
| 30 | - |
| 31 | + struct scsi_data_buffer sdb; |
| 32 | unsigned underflow; /* Return error if less than |
| 33 | this amount is transferred */ |
| 34 | |
| 35 | }}} |
| 36 | |
| 37 | }}} |
| 38 | |
| 39 | == Virtualization == |
| 40 | |
| 41 | * [http://www.howtoforge.com/creating-virtual-machines-for-xen-kvm-vmware-workstation-6-vmware-server-with-vmbuilder-on-ubuntu-8.10 Creating Virtual Machines For Xen, KVM, VMware Workstation 6, and VMware Server With vmbuilder On Ubuntu 8.10] |