this patch introduces a vcpu struct for lguest. In upcoming patches,
more and more fields will be moved from the lguest struct to the vcpu
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
 #define CHANGED_GDT_TLS                4 /* Actually a subset of CHANGED_GDT */
 #define CHANGED_ALL            3
 
+struct lguest;
+
+struct lg_cpu {
+       unsigned int id;
+       struct lguest *lg;
+};
+
 /* The private info the thread maintains about the guest. */
 struct lguest
 {
        struct lguest_data __user *lguest_data;
        struct task_struct *tsk;
        struct mm_struct *mm;   /* == tsk->mm, but that becomes NULL on exit */
+       struct lg_cpu cpus[NR_CPUS];
+       unsigned int nr_cpus;
+
        u32 pfn_limit;
        /* This provides the offset to the base of guest-physical
         * memory in the Launcher. */