aboutsummaryrefslogtreecommitdiffstats
path: root/kvm.c
AgeCommit message (Expand)AuthorFilesLines
2022-07-01kvm__arch_init: Remove hugetlbfs_path and ram_size as parametersJulien Grall1-1/+1
2022-02-16Remove initrd magic checkAlexandru Elisei1-22/+0
2021-08-31kvmtool: Abstract KVM_VM_TYPE into a weak functionMarc Zyngier1-1/+6
2020-04-24memslot: Add support for READONLY mappingsAndre Przywara1-0/+5
2020-04-24vfio: Destroy memslot when unmapping the associated VAsAlexandru Elisei1-12/+89
2019-04-26brlock: fix build with KVM_BRLOCK_DEBUGJulien Thierry1-0/+4
2018-11-02kvm: Do not pause already paused vcpusJulien Thierry1-1/+4
2018-06-19Introduce reserved memory regionsJean-Philippe Brucker1-14/+54
2018-06-19Extend memory bank API with memory typesJean-Philippe Brucker1-1/+30
2017-11-03Prevent segfault when kvm_pause is called too earlyJean-Philippe Brucker1-1/+1
2017-06-09add kvm__supports_vm_extension()Andre Przywara1-0/+28
2016-04-14kvmtool: delegate exit/reboot responsibility to vcpu0Will Deacon1-22/+6
2015-11-18Refactor kernel image loadingAndre Przywara1-38/+4
2015-11-05kvmtool: fix VM exit race attempting to pthread_kill an exited threadWill Deacon1-2/+27
2015-07-20remove KVM_CAP_MAX_VCPUS hackAndre Przywara1-8/+0
2015-07-08Typo fix in error messageWill Deacon1-1/+1
2015-06-01kvmtool: remove warning about bzImage on non-x86 architecturesAndre Przywara1-0/+2
2015-06-01kvm tools: Provide per arch macro to specify type for KVM_CREATE_VMAndreas Herrmann1-1/+1
2015-06-01kvm tools: Introduce weak (default) load_bzimage functionAndreas Herrmann1-0/+6
2015-06-01kvm tools: Allow to load ELF binaryAndreas Herrmann1-0/+11
2015-06-01kvm tools: Print message on failure of KVM_CREATE_VMDavid Daney1-0/+1
2015-06-01kvm tools: remove periodic tick in favour of a polling threadJonathan Austin1-50/+0
2015-06-01kvm tools: Beautify debug outputAsias He1-5/+6
2015-06-01kvm tools: pedantry: fix annoying typoWill Deacon1-1/+1
2015-06-01kvm tools: allow arch's to provide their own command-line optionsWill Deacon1-3/+3
2015-06-01kvm tools: provide a mechanism for translating host to guest addressesWill Deacon1-0/+16
2015-06-01kvm tools: teach guest_flat_to_host about memory banks starting above 0Will Deacon1-0/+17
2015-06-01kvm tools: keep track of registered memory banks in struct kvmWill Deacon1-1/+22
2015-06-01kvm tools: remove global kvm objectSasha Levin1-4/+2
2015-06-01kvm tools: pass kvm ptr directly to timer injectionSasha Levin1-0/+1
2015-06-01kvm tools: use init/exit where possibleSasha Levin1-0/+4
2015-06-01kvm tools: ram initSasha Levin1-0/+2
2015-06-01kvm tools: kernel load/firmware cleanupSasha Levin1-0/+15
2015-06-01kvm tools: kvm-ipc cleanupSasha Levin1-147/+0
2015-06-01kvm tools: timer cleanupSasha Levin1-8/+15
2015-06-01kvm tools: move kvm_cpus into struct kvmSasha Levin1-3/+3
2015-06-01kvm tools: move kvm_config into struct kvmSasha Levin1-26/+11
2015-06-01kvm tools: Use safe string handling functionsCyrill Gorcunov1-6/+12
2015-06-01kvm tools: ensure kvm_ipc__register_handler successYang Bai1-1/+7
2015-06-01kvm tools: if kvm_ipc__start failed, return negativeYang Bai1-1/+6
2015-06-01kvm tools: unite the error handle in kvm__initYang Bai1-5/+6
2015-06-01kvm tools: Stop init if check_extensions failedYang Bai1-0/+1
2015-06-01kvm tool: Don't close not yet opened files and SIGSEV fixCyrill Gorcunov1-20/+21
2015-06-01kvm tool: Make kvm structure to carry name copyCyrill Gorcunov1-2/+7
2015-06-01kvm tools: Fixes for virtio moduleSasha Levin1-32/+67
2015-06-01kvm tools: Add kvm__arch_delete_ram()Lai Jiangshan1-1/+1
2015-06-01kvm tools: Don't remove any file which is not created by itselfLai Jiangshan1-3/+3
2015-06-01kvm tools: cleanup useless arguments in kvm__arch_initWanlong Gao1-1/+1
2015-06-01kvm tools: Avoid overflowLai Jiangshan1-4/+18
2015-06-01kvm tools: Rename pr_error to pr_err to follow kernel conventionCyrill Gorcunov1-1/+1
2015-06-01kvm tools: Add BUG_ON() helper to make a run-time critical testsCyrill Gorcunov1-1/+0
2015-06-01kvm-tools: remove unneed sprintf("%s")Lai Jiangshan1-3/+1
2015-06-01kvm-tools: Don't create existed ~/.kvm-tools/ directoryLai Jiangshan1-2/+0
2015-06-01kvm-tools: Fix error pathLai Jiangshan1-1/+3
2015-06-01Revert "kvm tools: Add kvm__has_cap() to check whether a cap is available on ...Sasha Levin1-5/+0
2015-06-01kvm tools: Use kvm__supports_extension instead of kvm__has_capSasha Levin1-1/+1
2015-06-01kvm tools: Remove KVM_NR_CPUSMatt Evans1-1/+1
2015-06-01kvm tools: Add kvm__has_cap() to check whether a cap is available on the hostSasha Levin1-0/+5
2015-06-01kvm tools: Add initial SPAPR PPC64 architecture supportMatt Evans1-0/+3
2015-06-01kvm tools: Add ability to map guest RAM from hugetlbfsMatt Evans1-2/+2
2015-06-01kvm tools: Allow load_flat_binary() to load an initrd alongsideMatt Evans1-4/+6
2015-06-01kvm tools: Allow initrd_check() to match a cpioMatt Evans1-3/+5
2015-06-01kvm tools: Don't die if KVM_CAP_NR_VCPUS isn't availableMatt Evans1-1/+5
2015-06-01kvm tools: Split x86 arch-specific bits into x86/Matt Evans1-317/+6
2015-06-01kvm tools: kvm.c needs to include sys/stat.h for mkdirMatt Evans1-0/+1
2015-06-01kvm tools: Cleanup ghost socket filesSasha Levin1-1/+8
2015-06-01kvm tools: Fix kvm__set_dir() to include trailing slashPekka Enberg1-0/+2
2015-06-01kvm tools: Fix 'kvm run' when run the first timePekka Enberg1-0/+2
2015-06-01kvm tools: Avoid overwriting socket files with same nameSasha Levin1-0/+3
2015-06-01kvm tools: Kill double slash from kvm__get_dir()Pekka Enberg1-1/+6
2015-06-01kvm tools: Add method to stop ipc threadSasha Levin1-0/+1
2015-06-01kvm tools: Switch to using UNIX sockets instead of signalsSasha Levin1-37/+68
2015-06-01kvm tools: Use kvm__get_dir() helper functionPekka Enberg1-5/+26
2015-06-01kvm tools: Teach 'run' to handle guestfsSasha Levin1-2/+0
2015-06-01kvm tools: Use correct data type for pidSasha Levin1-2/+3
2015-06-01kvm tools: Add kvm__trigger_irq()Sasha Levin1-0/+6
2015-06-01kvm tools: convert callback to int and deal with the return valueLiming Wang1-3/+6
2015-06-01kvm tools: Update max VCPU limitSasha Levin1-2/+21
2015-06-01kvm tools: Fix leaked descriptorsSasha Levin1-0/+4
2015-06-01kvm tools: fix instances enumerationKonstantin Khlebnikov1-1/+1
2015-06-01kvm tools: Export kvm__remove_pidfileSasha Levin1-6/+3
2015-06-01kvm tools: Add instance enumeratorSasha Levin1-0/+25
2015-06-01kvm tools: Fix home dir resolutionSasha Levin1-5/+7
2015-06-01kvm tools: Advise memory allocated for guest RAM as KSM mergableSasha Levin1-0/+2
2015-06-01kvm tools: Allow giving instance namesSasha Levin1-1/+55
2015-06-01kvm tools: Signal only one thread when injecting console interruptsSasha Levin1-1/+3
2015-06-01kvm tools: Fix 'kvm run' on 32-bit machines with >2 GB of RAMPekka Enberg1-1/+1
2015-06-01kvm tools, vesa: Use guest-mapped memory for framebufferPekka Enberg1-5/+10
2015-06-01kvm tools: Add APIs to allow pausing guestsSasha Levin1-0/+54
2015-06-01kvm tools: Prevent double assignment of guest memory infoSasha Levin1-1/+1
2015-06-01kvm tools: Add video mode to kernel initializationJohn Floren1-3/+4
2015-06-01kvm tools: Fail if passed initrd is not really an initrdPekka Enberg1-2/+23
2015-06-01kvm tools: Prefix error() and friends helpers with pr_Cyrill Gorcunov1-2/+2
2015-06-01kvm tools: Fix type mismatches on GCC 4.4 on 32-bit systemsIngo Molnar1-1/+1
2015-06-01kvm tools: Use constants for commonly used mmap flagsSasha Levin1-2/+2
2015-06-01kvm tools: Rename 'self' variablesSasha Levin1-73/+73
2015-06-01kvm tools: Add memory gap for larger RAM sizesSasha Levin1-7/+59
2015-06-01kvm tools: Limit CPU count by KVM_CAP_NR_VCPUSPekka Enberg1-0/+11
2015-06-01kvm tools: Abolishment of uint*_t typesSasha Levin1-2/+1
2015-06-01kvm tools: Add MP tables supportCyrill Gorcunov1-0/+4
2015-06-01kvm tools: Use mmap to allocate guest RAMSasha Levin1-16/+20
2015-06-01kvm tools: Use per-VCPU threads for executionPekka Enberg1-11/+0
2015-06-01kvm tools: Close kernel FD after loading it into memorySasha Levin1-0/+4
2015-06-01kvm tools: Introduce KVM VCPU data structurePekka Enberg1-338/+0
2015-06-01kvm tools: Make code mostly checkpatch cleanPekka Enberg1-4/+3
2015-06-01kvm tools: Emit a more informative error message when /dev/kvm does not openIngo Molnar1-1/+5
2015-06-01kvm tools: Free memory and FDs on exitSasha Levin1-0/+14
2015-06-01kvm tools: remove KVM_EXIT_INTERNAL_ERRORAsias He1-7/+0
2015-06-01kvm tools: Separate BIOS specifics into own fileCyrill Gorcunov1-36/+12
2015-06-01kvm tools: Remove useless empty lines for a call series in kvm__reset_vcpuCyrill Gorcunov1-3/+3
2015-06-01kvm tools: Setup BIOS for both bzImage and flat imageCyrill Gorcunov1-5/+0
2015-06-01kvm tools: Fix required boot protocol versionPekka Enberg1-1/+1
2015-06-01kvm: Cleanup interrupt timer logicPekka Enberg1-2/+44
2015-06-01kvm: Implement support interrupt injectionPekka Enberg1-1/+4
2015-06-01kvm: Improve kvm__init() error messagePekka Enberg1-1/+1
2015-06-01kvm: Don't forget to close initrd fileCyrill Gorcunov1-0/+4
2015-06-01kvm: Fix kernel loading error messagesPekka Enberg1-10/+7
2015-06-01kvm: Virtio block device emulationPekka Enberg1-0/+15
2015-06-01kvm: Support loading initrd imageCyrill Gorcunov1-16/+57
2015-06-01kvm, bios: Make e820 map to look similar the real oneCyrill Gorcunov1-7/+7
2015-06-01kvm: Fix load_bzimage for flat binariesPekka Enberg1-1/+1
2015-06-01kvm: Check for read() return value in load_bzimage()Pekka Enberg1-1/+2
2015-06-01kvm: Fix VM support check for unrecognized CPUsPekka Enberg1-0/+4
2015-06-01kvm: Add --mem= optionCyrill Gorcunov1-2/+2
2015-06-01kvm: BIOS E820 memory map emulationPekka Enberg1-0/+33
2015-06-01kvm, bios: Rework BIOS setupCyrill Gorcunov1-37/+2
2015-06-01kvm, bios: Get rid of buggy int10 handlerCyrill Gorcunov1-12/+1
2015-06-01kvm: Cleanup struct boot_params setupPekka Enberg1-20/+7
2015-06-01kvm: Cleanup kvm__cpu_supports_vm()Pekka Enberg1-17/+21
2015-06-01kvm: Check for SVM extension being supported for AMD cpusCyrill Gorcunov1-2/+24
2015-06-01kvm: Check vmx capability using cpuidAsias He1-0/+16
2015-06-01kvm: Introduce '--kvm-dev' command line optionPekka Enberg1-3/+7
2015-06-01kvm: KVM_CAP_EXT_CPUID is requiredCyrill Gorcunov1-0/+1
2015-06-01kvm: Check for HTL extension grantedCyrill Gorcunov1-0/+1
2015-06-01kvm__setup_sregs: fix indentationAsias He1-12/+14
2015-06-01kvm: Check for required KVM extensions in one placeCyrill Gorcunov1-20/+34
2015-06-01kvm: kvm__setup_sregs initialize more registersAsias He1-0/+10
2015-06-01kvm: reimplement kvm__setup_sregsAsias He1-73/+4
2015-06-01kvm__init: the kernel should support irq and pitAsias He1-4/+28
2015-06-01kvm: remove unneccessary iotcl parameterAsias He1-1/+1
2015-06-01kvm: Use PRIx qualificator for printfCyrill Gorcunov1-4/+9
2015-06-01Change __x86_x__ to CONFIG_X86_XCyrill Gorcunov1-1/+1
2015-06-01kvm: Don't touch 64 bit specific MSR registers on 32 bitCyrill Gorcunov1-0/+2
2015-06-01kvm: Set more fields in boot protocolCyrill Gorcunov1-4/+23
2015-06-01kvm: Command line update must honor ABICyrill Gorcunov1-1/+1
2015-06-01kvm: Kill the bin2c helperCyrill Gorcunov1-3/+3
2015-06-01kvm: Make command line to be placed at predefined addressCyrill Gorcunov1-27/+10
2015-06-01kvm: Don't crash debug dump if address isn't in guest memoryPekka Enberg1-1/+24
2015-06-01kvm: Dump page tables at exitPekka Enberg1-1/+31
2015-06-01kvm: Dump stack on KVM oopsPekka Enberg1-4/+5
2015-06-01kvm: Show gdt and idt registersPekka Enberg1-0/+8
2015-06-01kvm: Reference to undefined variableCyrill Gorcunov1-9/+6
2015-06-01kvm: Setup VCPU MSRsPekka Enberg1-0/+49
2015-06-01kvm: Clean up kvm__reset_vcpu() functionPekka Enberg1-22/+36
2015-06-01kvm: Update command line related enitites in boot parametersCyrill Gorcunov1-1/+23
2015-06-01kvm: Add copying of kernel command line into guest memoryCyrill Gorcunov1-0/+20
2015-06-01bios: Add bios stubs generated from assembly filesCyrill Gorcunov1-7/+17
2015-06-01kvm: Introduce kvm__dump_mem helperCyrill Gorcunov1-0/+19
2015-06-01kvm: Free memory on exitPekka Enberg1-0/+6
2015-06-01kvm: Fix protected mode code dumpPekka Enberg1-4/+13
2015-06-01kvm: Setup guest FPU statePekka Enberg1-0/+8
2015-06-01kvm: Add simple NMI enable/disable supportPekka Enberg1-1/+2
2015-06-01kvm: Extract ioport emulation code to its own filePekka Enberg1-18/+0
2015-06-01kvm: Extract CPUID code into its own filePekka Enberg1-201/+0
2015-06-01kvm: Setup CPUID for the guestPekka Enberg1-0/+202
2015-06-01kvm: Put fake bios interrupt handlers into known memory areaCyrill Gorcunov1-15/+12
2015-06-01kvm: Rename ivt_ prefixed entitiesCyrill Gorcunov1-4/+4
2015-06-01kvm: Move util.h to include/kvm directoryPekka Enberg1-2/+1
2015-06-01kvm: Clean up interrupt_table__setup()Pekka Enberg1-4/+4
2015-06-01kvm: Move interrupt table to struct kvmPekka Enberg1-2/+2
2015-06-01kvm: Rename interrupt emulation source filesPekka Enberg1-1/+2
2015-06-01kvm: Fill up fake IVTCyrill Gorcunov1-6/+13
2015-06-01kvm: Setup fake IVT tableCyrill Gorcunov1-0/+16
2015-06-01kvm: Add --params optionCyrill Gorcunov1-3/+4
2015-06-01kvm: Fixup boot selectorCyrill Gorcunov1-1/+1
2015-06-01kvm: Use 64 bit names when showing registersCyrill Gorcunov1-1/+1
2015-06-01kvm: load_bzimage: Proper check for number of setup sectorsCyrill Gorcunov1-2/+2
2015-06-01kvm: Introduce host_real_to_guest() helper functionPekka Enberg1-11/+18
2015-06-01kvm: Setup stack for the kernelPekka Enberg1-12/+32
2015-06-01kvm: Load kernel at 0x1000Pekka Enberg1-2/+2
2015-06-01kvm: Fix kernel boot IPPekka Enberg1-8/+18
2015-06-01kvm: Remove 'reset vector' hackPekka Enberg1-26/+7
2015-06-01kvm: Fix setup size calculationPekka Enberg1-1/+1
2015-06-01Revert "kvm: Enable 'interrupt request window'"Pekka Enberg1-2/+0
2015-06-01kvm: Enable 'interrupt request window'Pekka Enberg1-0/+2
2015-06-01kvm: Document the 'reset vector' hackPekka Enberg1-0/+7
2015-06-01kvm: Clean up reset vector setup codePekka Enberg1-34/+25
2015-06-01kvm: Hardcode a "reset vector" at f000:fff0Pekka Enberg1-6/+25
2015-06-01kvm: Read the whole bzImage to memoryPekka Enberg1-0/+3
2015-06-01kvm: Fix bzImage setup sector default countPekka Enberg1-1/+8
2015-06-01kvm: Load bzImage real-mode boot sector and setup codePekka Enberg1-21/+42
2015-06-01Add support for loading flat binariesPekka Enberg1-5/+38
2015-06-01Print 'avl' bits of a segmentPekka Enberg1-3/+3
2015-06-01Fix up 'ip' in kvm__reset_vcpu() to take real mode into accountPekka Enberg1-10/+35
2015-06-01Improve KVM register dump outputPekka Enberg1-8/+17
2015-06-01Fix LDT descriptor type for KVM_SET_SREGPekka Enberg1-1/+1
2015-06-01Setup segmentation for the guestPekka Enberg1-2/+98
2015-06-01Separate KVM code from the main loopPekka Enberg1-147/+84
2015-06-01Don't die on old kernels without single-step debug supportCyrill Gorcunov1-1/+1
2015-06-01Add utility functionsCyrill Gorcunov1-18/+2