Xen has to handle non-virtualizable instructions in the Guest OS kernel code.
But what if my user-space code contains such instructions (e.g., SGDT that stores the GDT info into memory)? Can my code still runs smoothly in a guest VM with Xen para-virtualization? Will it reveal the host's GDT info (and thus become some concern)?
Besides, can anybody show me the code/details how SGDT (and other non-virtualizable instructions) in the guest kernel is handled?