summaryrefslogtreecommitdiff
path: root/tests/virpcimock.c
Commit message (Expand)AuthorAgeFilesLines
* tests: Remove unused includesPeng Liang2022-06-161-1/+0
* lib: Use G_N_ELEMENTS instead of sizeof()/sizeof()Michal Privoznik2021-11-031-1/+1
* lib: Drop intermediary return variablesMichal Privoznik2021-10-251-6/+2
* Add PCI VPD-related helper functions to virpciDmitrii Shcherbakov2021-10-211-0/+31
* tests: use VIR_AUTOCLOSEJán Tomko2021-09-091-3/+1
* util: alloc: Completely replace VIR_APPEND_ELEMENT_QUIET by VIR_APPEND_ELEMENTPeter Krempa2021-08-061-3/+3
* util: alloc: Reimplement VIR_APPEND_ELEMENT_QUIET using virAppendElementPeter Krempa2021-08-061-7/+3
* lib: Replace virFileMakePath() with g_mkdir_with_parents()Michal Privoznik2021-03-041-6/+6
* tests: Only mock $INODE64 symbols on x86_64 macOSAndrea Bolognani2021-02-101-1/+1
* Replace bzero() with memset()Tim Wiederhake2021-02-021-1/+1
* tests: Fix mock chaining on macOSRoman Bolshakov2020-11-271-0/+1
* tests: Fix opendir mocks on macOSRoman Bolshakov2020-11-271-0/+4
* virpcimock: Enable on macOSRoman Bolshakov2020-11-041-1/+1
* virpcimock: Initialize real_close before using itRoman Bolshakov2020-11-041-0/+2
* tests: fix misc spelling errors reported by codespellDaniel P. Berrangé2020-10-051-1/+1
* Use (un)signed printf specifiers correctlyJán Tomko2020-09-231-1/+1
* tests: Use glib memory functions in pci_driver_newTim Wiederhake2020-09-111-4/+4
* tests: Use glib memory functions in add_fdTim Wiederhake2020-09-111-5/+1
* tests: Use glib memory functions in virpcimock.cTim Wiederhake2020-09-111-7/+3
* src: replace last_component() with g_path_get_basename()Daniel P. Berrangé2020-01-031-2/+1
* virpcimock: Introduce NVMe driver and devicesMichal Privoznik2019-12-171-0/+3
* tests: remove unneeded cleanup labelsDaniel Henrique Barboza2019-11-191-21/+10
* replace use of gnulib snprintf by g_snprintfPavel Hrdina2019-11-151-14/+14
* virpcimock: Make @fakerootdir staticMichal Privoznik2019-11-121-5/+1
* tests: Use g_strdup_printf() instead of virAsprintf()Michal Privoznik2019-11-121-60/+37
* tests: use g_strdup instead of VIR_STRDUPJán Tomko2019-10-211-9/+10
* Use g_autofree instead of VIR_AUTOFREEJán Tomko2019-10-161-28/+28
* tests: use G_GNUC_UNUSEDJán Tomko2019-10-151-1/+1
* virpcimock.c: simplify getrealpath() usageDaniel Henrique Barboza2019-09-091-28/+34
* tests: Add test case for QEMU pci-hostdev hotplugShivaprasad G Bhat2019-09-091-1/+2
* virpcimock: Mock the SRIOV Virtual functionsShivaprasad G Bhat2019-09-091-0/+19
* virpcimock.c: mock /dev/vfioDaniel Henrique Barboza2019-09-091-16/+141
* virpcimock: Drop @driverActions enumMichal Privoznik2019-08-231-17/+7
* virpcimock: Don't create new_id or remove_id filesMichal Privoznik2019-08-231-112/+0
* virpcimock: Don't create "pci-stub" driverMichal Privoznik2019-08-231-1/+0
* tests: fix #ifdef indentation from previous commitDaniel P. Berrangé2019-08-201-6/+6
* tests: don't try to mock __open_2 on non-GLibc buildsDaniel P. Berrangé2019-08-201-1/+6
* tests: virpcimock: remove unused variable 'devid'Ján Tomko2019-08-191-1/+0
* virpcimock: Create symlink in /sys/kernel/iommu_groups/N/devices dirMichal Privoznik2019-08-171-7/+25
* virpcimock: Create PCI devices under /sys/devices/pci*Michal Privoznik2019-08-171-4/+21
* virpcimock: Store PCI address as ints not stringMichal Privoznik2019-08-171-15/+61
* virpcimock: Introduce and use pci_driver_get_path()Michal Privoznik2019-08-171-7/+27
* virpcimock: Introduce and use pci_device_get_path()Michal Privoznik2019-08-171-11/+31
* virpcimock: Create devices/ and drivers/ under /sys/bus/pci upfrontMichal Privoznik2019-08-171-0/+15
* virpcimock: Rename @fakesysfspcidirMichal Privoznik2019-08-171-5/+5
* virpcimock: Eliminate use of @fakesysfspcidirMichal Privoznik2019-08-171-21/+20
* virpcimock: Use VIR_AUTOFREE()Michal Privoznik2019-08-171-73/+36
* virpcimock: Drop needless typecastMichal Privoznik2019-08-171-2/+2
* virpcimock: Create driver_override file in device dirsMichal Privoznik2019-08-171-6/+46
* virpcimock: Move actions checking one level upMichal Privoznik2019-08-171-8/+8