= 2008-12-16 = * Qlogic FC HBA 編譯問題追蹤 * * {{{ #!diff --- /home/jazz/linux-2.6-2.6.18.dfsg.1/include/scsi/scsi_cmnd.h 2006-09-20 11:42:06.000000000 +0800 +++ /usr/src/linux-headers-2.6.26-1-686-bigmem/include/scsi/scsi_cmnd.h 2008-07-14 05:51:29.000000000 +0800 @@ -57,21 +78,16 @@ int allowed; int timeout_per_command; - unsigned char cmd_len; + unsigned short cmd_len; enum dma_data_direction sc_data_direction; /* These elements define the operation we are about to perform */ -#define MAX_COMMAND_SIZE 16 - unsigned char cmnd[MAX_COMMAND_SIZE]; - unsigned request_bufflen; /* Actual request size */ + unsigned char *cmnd; struct timer_list eh_timeout; /* Used to time out the command. */ - void *request_buffer; /* Actual requested buffer */ /* These elements define the operation we ultimately want to perform */ - unsigned short use_sg; /* Number of pieces of scatter-gather */ - unsigned short sglist_len; /* size of malloc'd scatter-gather list */ - + struct scsi_data_buffer sdb; unsigned underflow; /* Return error if less than this amount is transferred */ }}} }}} == Virtualization == * [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]