kvm tools: Add ivshmem device
[linux-2.6/next.git] / tools / kvm / bios / int15.c
blobfaf5343ea5098d71b4ac4bb7c5f04fb127a79e20
1 #include "kvm/bios.h"
3 #include "kvm/e820.h"
5 #include <asm/processor-flags.h>
7 bioscall void int15_handler(struct biosregs *regs)
9 switch (regs->eax) {
10 case 0xe820:
11 e820_query_map(regs);
12 break;
13 default:
14 /* Set CF to indicate failure. */
15 regs->eflags |= X86_EFLAGS_CF;
16 break;