libvirt/src/qemu
Michal Privoznik e8589963bc qemuProcessBuildDestroyHugepagesPath: Don't warn on destroying non-existent path
This function is called unconditionally from qemuProcessStop to
make sure we leave no dangling dirs behind. However, whenever the
directory we want to rmdir() is not there (e.g. because it hasn't
been created in the first place because domain doesn't use
hugepages at all), we produce a warning like this:

2017-06-20 15:58:23.615+0000: 32638: warning :
qemuProcessBuildDestroyHugepagesPath:3363 : Unable to remove
hugepage path: /dev/hugepages/libvirt/qemu/1-instance-00000001
(errno=2)

Fix this by not producing the warning on ENOENT.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2017-06-21 12:32:53 +02:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c Fix minor typos 2017-04-24 14:40:00 +02:00
qemu_agent.h qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
qemu_alias.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_alias.h qemu: Rename qemuAliasTLSObjFromChardevAlias 2017-02-22 06:31:40 -05:00
qemu_block.c qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_block.h qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_blockjob.c qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_blockjob.h qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_capabilities.c qemu: capabilities: Move comments separating groups of capabilities 2017-06-21 08:35:59 +02:00
qemu_capabilities.h qemu: Introduce a new QEMU capability for -machine loadparm 2017-06-20 07:03:22 -04:00
qemu_capspriv.h annotate all mocked functions with noinline 2017-04-19 10:51:51 +01:00
qemu_cgroup.c qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_cgroup.h qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_command.c qemu: Add loadparm to qemu command line string 2017-06-20 07:03:22 -04:00
qemu_command.h qemu: propagate chardevStdioLogd to qemuBuildChrChardevStr 2017-06-16 15:52:40 +02:00
qemu_conf.c qemu: Implement virSaveCookie object and callbacks 2017-06-07 13:36:01 +02:00
qemu_conf.h conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
qemu_domain_address.c qemu: Explain why mdevs are assumed to be PCI Express 2017-06-13 10:48:49 +08:00
qemu_domain_address.h qemu: propagate virQEMUDriver object to qemuDomainDeviceCalculatePCIConnectFlags 2016-11-30 15:28:07 -05:00
qemu_domain.c qemu: introduce chardevStdioLogd to qemu private data 2017-06-16 15:52:11 +02:00
qemu_domain.h qemu: introduce chardevStdioLogd to qemu private data 2017-06-16 15:52:11 +02:00
qemu_driver.c qemu: snapshot: Load data necessary for relative block commit to work 2017-06-20 13:25:55 +02:00
qemu_driver.h
qemu_hostdev.c qemu: Fix mdev checking for VFIO support 2017-04-12 12:57:39 +02:00
qemu_hostdev.h hostdev: Maintain a driver list of active mediated devices 2017-03-27 15:39:35 +02:00
qemu_hotplug.c qemu: Change coalesce settings on hotplug when they are different 2017-06-21 09:33:54 +02:00
qemu_hotplug.h qemu: hotplug: Unexport qemuDomainHotplugDelVcpu 2017-04-20 10:46:44 +02:00
qemu_hotplugpriv.h
qemu_interface.c Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" 2017-05-22 12:57:34 -04:00
qemu_interface.h Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" 2017-05-22 12:57:34 -04:00
qemu_migration_cookie.c qemu: Send updated CPU in migration cookie 2017-06-07 13:36:02 +02:00
qemu_migration_cookie.h qemu: Send updated CPU in migration cookie 2017-06-07 13:36:02 +02:00
qemu_migration.c qemu: Use qemuDomainCheckABIStability where needed 2017-06-14 17:13:24 +02:00
qemu_migration.h qemu: Simplify qemuMigrationResetTLS 2017-04-07 13:43:37 +02:00
qemu_monitor_json.c qemu: monitor: Fix a memory leak in qemuMonitorJSONAttachCharDevCommand 2017-06-14 10:46:02 +02:00
qemu_monitor_json.h qemu: Check migratable host CPU features 2017-03-30 09:59:42 +02:00
qemu_monitor_text.c qemu: monitor: Don't bother extracting vCPU halted state in text monitor 2017-05-19 09:31:19 +02:00
qemu_monitor_text.h qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs 2016-08-24 15:44:47 -04:00
qemu_monitor.c qemu: add a comment for mon->watch 2017-06-12 19:11:30 -04:00
qemu_monitor.h qemu: Report shutdown event details 2017-05-26 15:01:15 +02:00
qemu_parse_command.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_parse_command.h qemu: parse: rename qemuCaps->caps 2016-02-19 09:45:23 -05:00
qemu_process.c qemuProcessBuildDestroyHugepagesPath: Don't warn on destroying non-existent path 2017-06-21 12:32:53 +02:00
qemu_process.h qemuDomainAttachMemory: Crate hugepage dir if needed 2017-06-13 16:39:39 +02:00
qemu_processpriv.h
qemu_security.c security: don't relabel chardev source if virtlogd is used as stdio handler 2017-06-16 16:00:10 +02:00
qemu_security.h qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu.conf qemu: Update the TLS client verify descriptions for vnc and chardev 2017-03-25 08:19:49 -04:00
test_libvirtd_qemu.aug.in conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00