aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2024-04-09x86: Fix some memory sizes when setting up biosHEADmasterSicheng Liu2-6/+9
2024-04-09riscv: Allow disabling SBI STA extension for GuestAnup Patel1-1/+4
2024-04-09riscv: Add Zfa extensiona supportAnup Patel2-0/+4
2024-04-09riscv: Add Zvfh[min] extensions supportAnup Patel2-0/+8
2024-04-09riscv: Add Zihintntl extension supportAnup Patel2-0/+4
2024-04-09riscv: Add Zfh[min] extensions supportAnup Patel2-0/+8
2024-04-09riscv: Add vector crypto extensions supportAnup Patel2-0/+40
2024-04-09riscv: Add scalar crypto extensions supportAnup Patel4-0/+88
2024-04-09riscv: Add Zbc extension supportAnup Patel2-0/+4
2024-04-09kvmtool: Fix absence of __packed definitionAnup Patel1-0/+2
2024-04-09Sync-up headers with Linux-6.8 for KVM RISC-VAnup Patel5-91/+168
2024-03-04Fix 9pfs open device file security flawYanwu Shen1-1/+12
2024-02-09x86: Enable in-kernel irqchip before creating PITTengfei Yu1-4/+4
2024-02-09riscv: Fix guest poweroff when using PLIC emulationAnup Patel1-0/+32
2024-02-09riscv: Handle SBI DBCN calls from Guest/VMAnup Patel3-3/+73
2024-02-09riscv: Set mmu-type DT property based on satp_mode ONE_REG interfaceAnup Patel1-7/+37
2024-02-09riscv: Add Zicond extension supportAnup Patel2-0/+4
2024-02-09riscv: Add Smstateen extension supportAnup Patel2-0/+4
2024-02-09riscv: Add Zicsr and Zifencei extension supportAnup Patel2-0/+8
2024-02-09riscv: Add Zicntr and Zihpm extension supportAnup Patel2-0/+8
2024-02-09riscv: Add Zba and Zbs extension supportAnup Patel2-0/+8
2024-02-09riscv: Make CPU_ISA_MAX_LEN depend upon isa_info_arr array sizeAnup Patel1-1/+1
2024-02-09riscv: Improve warning in generate_cpu_nodes()Anup Patel1-1/+2
2024-02-09Sync kernel headers with v6.7 to enable additional Risc-V extensionsWill Deacon5-0/+71
2023-11-21riscv: Fix guest/init linkage for multilib toolchainAnup Patel1-0/+2
2023-11-21riscv: Use AIA in-kernel irqchip whenever KVM RISC-V supportsAnup Patel5-6/+251
2023-11-21riscv: Add IRQFD support for in-kernel AIA irqchipAnup Patel2-0/+84
2023-11-21riscv: Make irqchip support pluggableAnup Patel6-49/+147
2023-11-21riscv: Add Svnapot extension supportAnup Patel2-0/+4
2023-11-21Sync-up header with Linux-6.6 for KVM RISC-VAnup Patel3-4/+126
2023-11-21virtio: Cancel and join threads when exiting devices devicesEduardo Bart9-1/+47
2023-09-18pci: Deregister KVM_PCI_CFG_AREA on pci__exitTan En De1-0/+1
2023-09-18virtio/pci: Use consistent naming for the PCI ISR bit flagsKeir Fraser2-2/+5
2023-09-18virtio/pci: Treat PCI ISR as a set of bit flagsKeir Fraser1-2/+2
2023-09-18virtio/pci: Level-trigger the legacy IRQ line in all casesKeir Fraser1-1/+1
2023-09-18builtin-run: Document mode=none for -n/--networkAlexandru Elisei1-1/+2
2023-09-18Revert "virtio-net: Don't print the compat warning for the default device"Alexandru Elisei1-4/+4
2023-07-20riscv: Fix guest RAM alloc size computation for RV32Anup Patel1-3/+12
2023-07-20riscv: Add Ssaia extension supportAnup Patel2-0/+4
2023-07-20riscv: Add Zicboz extension supportAndrew Jones2-1/+14
2023-07-20riscv: Add zbb extension supportAnup Patel2-0/+4
2023-07-20riscv: Sort the ISA extension array alphabeticallyAnup Patel1-2/+3
2023-07-20riscv: Allow disabling SBI extensions for GuestAnup Patel3-9/+59
2023-07-20riscv: Allow setting custom mvendorid, marchid, and mimpidAnup Patel2-1/+37
2023-07-20Sync-up headers with Linux-6.4Anup Patel7-31/+286
2023-07-20kvm tools: Add __DECLARE_FLEX_ARRAY() in include/linux/stddef.hAnup Patel1-0/+16
2023-07-20virtio-net: Don't print the compat warning for the default deviceAlexandru Elisei1-4/+4
2023-07-20Apply scaling down the calculated guest ram size to the number of pagesFuad Tabba1-8/+6
2023-07-20Factor out getting the number of physical memory host pagesFuad Tabba1-4/+10
2023-07-20Factor out getting the host page sizeFuad Tabba1-7/+13
2023-07-12Add --loglevel argument for the run commandAlexandru Elisei3-6/+44
2023-07-12util: Use __pr_debug() instead of pr_info() to print debug messagesAlexandru Elisei2-1/+17
2023-07-12Replace printf/fprintf with pr_* macrosAlexandru Elisei6-37/+37
2023-07-12util: Make pr_err() return voidAlexandru Elisei3-15/+18
2023-07-06vfio/pci: Clarify the MSI statesJean-Philippe Brucker2-37/+57
2023-07-06vfio/pci: Initialize MSI vectors unmaskedJean-Philippe Brucker1-1/+1
2023-06-08virtio/vhost: Clear VIRTIO_F_ACCESS_PLATFORMJean-Philippe Brucker5-14/+19
2023-06-08virtio/vhost: Support line interrupt signalingJean-Philippe Brucker6-22/+104
2023-06-08Factor epoll threadJean-Philippe Brucker5-155/+151
2023-06-08virtio/net: Warn about enabling multiqueue with vhostJean-Philippe Brucker1-0/+5
2023-06-08virtio: Fix messages about missing Linux configJean-Philippe Brucker2-2/+2
2023-06-08virtio: Document how to test the devicesJean-Philippe Brucker1-0/+141
2023-06-08virtio/net: Fix feature selectionJean-Philippe Brucker1-10/+12
2023-06-08virtio/vsock: Fix feature selectionJean-Philippe Brucker1-14/+20
2023-06-08virtio/scsi: Fix feature selectionJean-Philippe Brucker1-14/+19
2023-06-08virtio/scsi: Initialize max_targetJean-Philippe Brucker1-0/+1
2023-06-08disk/core: Fix segfault on exit with SCSIJean-Philippe Brucker1-2/+2
2023-06-08virtio/scsi: Fix and simplify command-lineJean-Philippe Brucker3-14/+6
2023-06-08virtio/scsi: Move VHOST_SCSI_SET_ENDPOINT to device startJean-Philippe Brucker1-8/+7
2023-06-08virtio/vhost: Factor notify_vq_gsi()Jean-Philippe Brucker5-63/+53
2023-06-08virtio/vhost: Factor notify_vq_eventfd()Jean-Philippe Brucker5-28/+20
2023-06-08virtio/vhost: Factor vring operationJean-Philippe Brucker5-76/+38
2023-06-08virtio: Factor vhost initializationJean-Philippe Brucker6-75/+42
2023-06-08virtio/rng: Fix build warning from min()Jean-Philippe Brucker1-1/+1
2023-06-08arm/kvm-cpu: Fix new build warningJean-Philippe Brucker1-2/+1
2023-06-08Makefile: Refine -s handling in the make parametersJean-Philippe Brucker1-1/+1
2023-06-05virtio: sanitise virtio endian wrappersAndre Przywara7-61/+71
2023-06-05option parsing: fix type of empty .argh parameterAndre Przywara3-5/+6
2023-06-05virtio/rng: return at least one byte of entropyAndre Przywara1-3/+15
2023-06-05virtio/rng: switch to using /dev/urandomAndre Przywara1-1/+1
2023-04-06arm: Do not add padding alignment for hugetlbfs backed memorySuzuki K Poulose1-1/+3
2023-03-24Add virtio-transport option and deprecate force-pci and virtio-legacy.Rajnesh Kanwal16-30/+61
2023-03-24riscv: Move serial and rtc from IO port space to MMIO area.Rajnesh Kanwal3-1/+14
2022-11-08riscv: Add --disable-<xyz> options to allow user disable extensionsAnup Patel2-1/+25
2022-11-08riscv: Add Zicbom extension supportAndrew Jones1-0/+11
2022-11-08riscv: Move reg encoding helpers to kvm-cpu-arch.hAndrew Jones3-18/+19
2022-11-08riscv: Add zihintpause extension supportMayuresh Chitale1-0/+1
2022-11-08riscv: Add Svinval extension supportAnup Patel1-0/+1
2022-11-08Update UAPI headers based on Linux-6.1-rc1Anup Patel6-14/+46
2022-11-08hw/i8042: Fix value uninitialized in kbd_io()hbuxiaofei1-1/+1
2022-11-08pci: Disable writes to Status registerJean-Philippe Brucker1-14/+40
2022-10-04virtio-net: Fix vq->use_event_idx flag checkTu Dinh Ngoc1-1/+1
2022-09-22riscv: Fix serial0 alias pathAnup Patel1-4/+8
2022-09-22riscv: Add Sstc extension supportAtish Patra1-0/+1
2022-09-22riscv: Add Svpbmt extension supportAnup Patel1-0/+1
2022-09-22riscv: Append ISA extensions to the device treeAtish Patra3-11/+41
2022-09-22Update UAPI headers based on Linux-6.0-rc1Anup Patel9-30/+301
2022-09-22net: Use vfork() instead of fork() for script executionSuzuki K Poulose1-1/+1
2022-08-04Makefile: Introduce LIBFDT_DIR to specify libfdt locationAlexandru Elisei2-8/+33
2022-08-04virtio/rng: Zero-initialize the deviceJean-Philippe Brucker1-1/+1
2022-08-04virtio/pci: Deassert IRQ line on ISR readJean-Philippe Brucker1-4/+1
2022-08-04Makefile: Fix ARCH overrideJean-Philippe Brucker1-2/+2
2022-08-04Makefile: Add missing build dependenciesJean-Philippe Brucker1-1/+2
2022-07-01arm64: pvtime: Use correct region sizeAlexandru Elisei1-5/+5
2022-07-01virtio/pci: Remove VIRTIO_PCI_F_SIGNAL_MSIJean-Philippe Brucker2-7/+5
2022-07-01virtio/pci: Initialize all vectors to VIRTIO_MSI_NO_VECTORJean-Philippe Brucker2-2/+4
2022-07-01virtio: Add support for modern virtio-mmioJean-Philippe Brucker8-11/+195
2022-07-01virtio: Move MMIO transport to mmio-legacyJean-Philippe Brucker4-155/+165
2022-07-01virtio: Add support for modern virtio-pciJean-Philippe Brucker15-19/+445
2022-07-01virtio: Move PCI transport to pci-legacyJean-Philippe Brucker4-236/+254
2022-07-01virtio: Prepare for more feature bitsJean-Philippe Brucker10-14/+14
2022-07-01virtio/net: Set vhost backend after queue addressJean-Philippe Brucker1-5/+6
2022-07-01virtio/pci: Use the correct eventfd for vhost notificationJean-Philippe Brucker1-4/+5
2022-07-01virtio/pci: Make doorbell offset dynamicJean-Philippe Brucker2-5/+10
2022-07-01virtio: Extract init_vq() for PCI and MMIOJean-Philippe Brucker2-8/+30
2022-07-01virtio/pci: Delete MSI routesJean-Philippe Brucker1-0/+14
2022-07-01arm64: Allow the user to specify the RAM base addressAlexandru Elisei7-10/+64
2022-07-01Introduce kvm__arch_default_ram_address()Alexandru Elisei7-0/+31
2022-07-01arm/arm64: Consolidate RAM initialization in kvm__init_ram()Julien Grall1-26/+26
2022-07-01kvm__arch_init: Remove hugetlbfs_path and ram_size as parametersJulien Grall7-14/+20
2022-07-01builtin_run: Allow standard size specifiers for memorySuzuki K Poulose1-5/+54
2022-07-01arm/arm64: Kill the ARM_HIMAP_MAX_MEMORY() macroAlexandru Elisei1-1/+0
2022-07-01arm/arm64: Kill the ARM_MAX_MEMORY() macroAlexandru Elisei2-18/+0
2022-07-01arm/arm64: Fail if RAM size is too large for 32-bit guestsAlexandru Elisei3-1/+10
2022-07-01builtin-run: Add arch hook to validate VM configurationAlexandru Elisei9-0/+29
2022-07-01builtin-run: Rework RAM size validationAlexandru Elisei1-7/+13
2022-07-01builtin-run: Always use RAM size in bytesAlexandru Elisei3-13/+15
2022-07-01Use MB for megabytes consistentlyAlexandru Elisei2-3/+3
2022-07-01arm: gic: fdt: fix PPI CPU mask calculationAndre Przywara4-5/+16
2022-06-09virtio/pci: Factor MSI route creationJean-Philippe Brucker1-33/+27
2022-06-09virtio/blk: Implement VIRTIO_F_ANY_LAYOUT featureJean-Philippe Brucker3-28/+60
2022-06-09virtio/console: Add VIRTIO_F_ANY_LAYOUT featureJean-Philippe Brucker1-1/+1
2022-06-09virtio/net: Implement VIRTIO_F_ANY_LAYOUT featureJean-Philippe Brucker2-35/+57
2022-06-09virtio/net: Prepare for modern virtioJean-Philippe Brucker3-7/+21
2022-06-09virtio/net: Offload vnet header endianness conversion to tapJean-Philippe Brucker1-20/+19
2022-06-09Add memcpy_fromiovec_safeJean-Philippe Brucker2-0/+33
2022-06-09virtio: Remove set_guest_features() device opJean-Philippe Brucker11-69/+2
2022-06-09virtio/console: Remove unused callbackJean-Philippe Brucker1-5/+0
2022-06-09virtio: Fix device-specific config endiannessJean-Philippe Brucker10-63/+84
2022-06-09virtio: Add config access helpersJean-Philippe Brucker4-65/+47
2022-06-09virtio: Support modern virtqueue addressesJean-Philippe Brucker12-53/+86
2022-06-09virtio: Factor virtqueue initializationJean-Philippe Brucker10-59/+34
2022-06-09virtio/vsock: Remove redundant state trackingJean-Philippe Brucker1-5/+5
2022-06-09virtio: Remove redundant testJean-Philippe Brucker1-2/+1
2022-06-09virtio: Add NEEDS_RESET to the status maskJean-Philippe Brucker1-0/+1
2022-05-26riscv: Add missing asm/kernel.h headerDao Lu1-0/+8
2022-05-26mips: Do not emulate a serial deviceAlexandru Elisei2-2/+10
2022-05-26arm64: Honor --vcpu-affinity for aarch32 guestsAlexandru Elisei1-10/+12
2022-05-26include: add new virtio uapi header filesAndre Przywara8-0/+1005
2022-05-26include: update virtio UAPI headersAndre Przywara4-92/+305
2022-05-26util: include virtio UAPI headers in syncAndre Przywara1-0/+10
2022-05-26update virtio_mmio.hAndre Przywara2-11/+52
2022-05-20kvmtool: Have stack be not executable on x86Martin Radev2-0/+10
2022-05-20virtio: Check for overflows in QUEUE_NOTIFY and QUEUE_SELMartin Radev11-12/+39
2022-05-20virtio: Sanitize config accessesMartin Radev12-9/+119
2022-05-20virtio/9p: Fix virtio_9p_config allocation sizeMartin Radev1-1/+1
2022-05-20virtio: Use u32 instead of int in pci_data_in/outMartin Radev1-4/+4
2022-05-20mmio: Sanitize addr and lenMartin Radev1-0/+4
2022-05-20kvmtool: Add WARN_ONCE macroMartin Radev1-0/+10
2022-05-20stat: Add descriptions for new virtio_balloon stat typesKeir Fraser1-1/+16
2022-05-20virtio/balloon: Fix a crash when collecting statsKeir Fraser1-1/+6
2022-05-20aarch64: Give up with MTE for AArch32 guestVladimir Murzin1-0/+5
2022-05-06arm64: Add --vcpu-affinity command line argumentAlexandru Elisei7-22/+118
2022-05-06arm64: Add support for KVM_ARM_VCPU_PMU_V3_SET_PMUAlexandru Elisei2-3/+148
2022-05-06update_headers.sh: Sync ABI headers with Linux v5.18-rc2Alexandru Elisei2-2/+24
2022-05-06Add cpumask functionsAlexandru Elisei14-0/+517
2022-05-06arm64: Rework set_pmu_attr()Alexandru Elisei1-32/+16
2022-05-06arm: Make the PMUv3 emulation code arm64 specificAlexandru Elisei4-12/+10
2022-05-06arm: Get rid of the ARM_VCPU_FEATURE_FLAGS() macroAlexandru Elisei3-9/+5
2022-05-06arm: Move arch specific VCPU features to the arch specific functionAlexandru Elisei3-11/+13
2022-05-06arm/arm64: pmu.h: Add missing header guardsAlexandru Elisei1-0/+4
2022-05-06linux/bitops.h: Include wordsize.h to provide the __WORDSIZE defineAlexandru Elisei1-0/+2
2022-05-06linux/err.h: Add missing stdbool.h includeAlexandru Elisei1-0/+2
2022-04-04aarch64: Add support for MTEAlexandru Elisei6-0/+31
2022-04-04update_headers.sh: Sync ABI headers with Linux v5.17Alexandru Elisei3-1/+41
2022-04-04Make --no-pvtime command argument arm specificSebastian Ene5-7/+6
2022-03-21Revert "kvm tools: Filter out CPU vendor string"Oliver Upton1-8/+0
2022-03-21Add --no-pvtime command line argumentSebastian Ene1-0/+2
2022-03-21aarch64: Add stolen time supportSebastian Ene8-2/+114
2022-03-21aarch64: Populate the vCPU struct before target->init()Sebastian Ene1-7/+7
2022-02-16arm: pci: Generate "msi-parent" property only with a MSI controllerAlexandru Elisei3-4/+9
2022-02-16arm: Use pr_debug() to print memory layout when loading a firmware imageAlexandru Elisei1-3/+5
2022-02-16Remove initrd magic checkAlexandru Elisei1-22/+0
2022-02-16virtio/pci: Signal INTx interrupts as level instead of edgeMarc Zyngier2-2/+2
2022-02-16x86: Set the correct APIC IDMuchun Song1-2/+4
2022-02-16x86: Fix initialization of irq mptableMuchun Song1-1/+1
2021-12-14riscv: Generate PCI host DT nodeAnup Patel4-0/+115
2021-12-14riscv: Handle SBI calls forwarded to user spaceAnup Patel2-1/+96
2021-12-14riscv: Generate FDT at runtime for Guest/VMAnup Patel6-0/+255
2021-12-14riscv: Add PLIC device emulationAnup Patel4-2/+526
2021-12-14riscv: Implement Guest/VM VCPU arch functionsAnup Patel2-7/+390
2021-12-14riscv: Implement Guest/VM arch functionsAnup Patel2-6/+134
2021-12-14riscv: Initial skeletal supportAnup Patel13-5/+440
2021-12-14update_headers: Sync-up ABI headers with Linux-5.16-rc1Anup Patel4-14/+557
2021-12-14Makefile: Calculate the correct kvmtool versionhaibiao.xiao1-2/+2
2021-12-14arm/pci: update interrupt-map only for legacy interruptsSathyam Panda1-0/+10
2021-10-13vfio/pci: Align MSIX Table and PBA size to guest maximum page sizeAlexandru Elisei6-2/+21
2021-10-13vfio/pci: Print an error when offset is outside of the MSIX table or PBAAlexandru Elisei1-0/+9
2021-10-13vfio/pci: Rework MSIX table and PBA physical size allocationAlexandru Elisei2-28/+42
2021-10-13vfio/pci: Rename PBA offset in device descriptor to fd_offsetAlexandru Elisei2-4/+4