Paul Turner wrote: > here's an updated version that instead takes kvm_lock and leaves the > svm stuff in the relevant header file for now. unfortunately we still > need the includes since gcc is braindead and can't compile untyped > [0]-size arrays properly, the only two ways i can see to fix this is > either embedding vcpu in an arch specific struct and or using a > long[0] member and a vmx/svm macro as you mentioned before.. >
Since this turned out to be a little more involved than anticipated, can you push out a patch that just converts the vcpu array to a pointer array? That will allow careful review of the locking changes, and is independent of splitting that arch independent stuff off. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel