Home
last modified time | relevance | path

Searched refs:qemu_open_old (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/backends/
H A Dhostmem-epc.c32 fd = qemu_open_old("/dev/sgx_vepc", O_RDWR); in sgx_epc_backend_memory_alloc()
73 int fd = qemu_open_old("/dev/sgx_vepc", O_RDWR); in register_types()
H A Drng-random.c78 s->fd = qemu_open_old(s->filename, O_RDONLY | O_NONBLOCK); in rng_random_opened()
/openbmc/qemu/chardev/
H A Dchar-pipe.c134 fd_in = RETRY_ON_EINTR(qemu_open_old(filename_in, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
135 fd_out = RETRY_ON_EINTR(qemu_open_old(filename_out, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
146 qemu_open_old(filename, O_RDWR | O_BINARY) in qemu_chr_open_pipe()
H A Dchar-fd.c201 fd = RETRY_ON_EINTR(qemu_open_old(src, flags, 0666)); in qmp_chardev_open_file_source()
/openbmc/qemu/backends/tpm/
H A Dtpm_passthrough.c218 fd = qemu_open_old(tpm_pt->options->cancel_path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
236 fd = qemu_open_old(path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
240 fd = qemu_open_old(path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
270 tpm_pt->tpm_fd = qemu_open_old(tpm_pt->tpm_dev, O_RDWR); in tpm_passthrough_handle_device_opts()
/openbmc/qemu/hw/usb/
H A Du2f-emulated.c203 fd = qemu_open_old(path, O_RDONLY); in u2f_emulated_read()
220 fd = qemu_open_old(path, O_RDWR); in u2f_emulated_setup_counter()
H A Du2f-passthru.c386 int fd = qemu_open_old(devnode, O_RDWR); in u2f_passthru_open_from_device()
485 fd = qemu_open_old(key->hidraw, O_RDWR); in u2f_passthru_realize()
H A Dbus.c276 int fd = qemu_open_old(dev->pcap_filename, in usb_qdev_realize()
H A Dhost-libusb.c1215 fd = qemu_open_old(s->hostdevice, O_RDWR); in usb_host_realize()
/openbmc/qemu/
H A Dos-posix.c268 fd = RETRY_ON_EINTR(qemu_open_old("/dev/null", O_RDWR)); in os_setup_post()
/openbmc/qemu/io/
H A Dchannel-file.c55 ioc->fd = qemu_open_old(path, flags, mode); in qio_channel_file_new_path()
/openbmc/qemu/ui/
H A Dui-qmp-cmds.c372 fd = qemu_open_old(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in qmp_screendump()
/openbmc/qemu/hw/vfio/
H A Dcontainer.c531 fd = qemu_open_old("/dev/vfio/vfio", O_RDWR); in vfio_connect_container()
721 group->fd = qemu_open_old(path, O_RDWR); in vfio_get_group()
/openbmc/qemu/hw/i386/
H A Dsgx.c161 int fd = qemu_open_old("/dev/sgx_vepc", O_RDWR); in qmp_query_sgx_capabilities()
/openbmc/qemu/include/qemu/
H A Dosdep.h586 int qemu_open_old(const char *name, int flags, ...);
/openbmc/qemu/util/
H A Dosdep.c370 int qemu_open_old(const char *name, int flags, ...) in qemu_open_old() function
/openbmc/qemu/hw/s390x/
H A Ds390-skeys.c138 fd = qemu_open_old(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in qmp_dump_skeys()
/openbmc/qemu/target/arm/
H A Dkvm.c75 kvmfd = qemu_open_old("/dev/kvm", O_RDWR); in kvm_arm_create_scratch_host_vcpu()
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c701 kvmfd = qemu_open_old("/dev/kvm", O_RDWR); in kvm_riscv_create_scratch_vcpu()
/openbmc/qemu/block/
H A Dvvfat.c1366 int fd = qemu_open_old(mapping->path, in open_file()
2531 fd = qemu_open_old(mapping->path, O_RDWR | O_CREAT | O_BINARY, 0666); in commit_one_file()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c2363 s->fd = qemu_open_old("/dev/kvm", O_RDWR); in kvm_init()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c5240 fd = qemu_open_old("/dev/sgx_provision", O_RDONLY); in __kvm_enable_sgx_provisioning()