mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
7ad9162961
This patch creates a new function, virDomainDefBootValidate(), to host the validation of boot menu timeout and rebootTimeout outside of parse time. The checks in virDomainDefParseBootXML() were changed to throw VIR_ERR_XML_ERROR in case of parse error of those values. In an attempt to alleviate the amount of code being stacked inside domain_conf.c, let's put this new function in a new domain_validate.c file that will be used to place these validations. Suggested-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
369 lines
12 KiB
Plaintext
369 lines
12 KiB
Plaintext
@BUILDDIR@src/access/viraccessapicheck.c
|
|
@BUILDDIR@src/access/viraccessapichecklxc.c
|
|
@BUILDDIR@src/access/viraccessapicheckqemu.c
|
|
@BUILDDIR@src/admin/admin_client.h
|
|
@BUILDDIR@src/admin/admin_server_dispatch_stubs.h
|
|
@BUILDDIR@src/remote/remote_client_bodies.h
|
|
@BUILDDIR@src/remote/remote_daemon_dispatch_stubs.h
|
|
@SRCDIR@src/access/viraccessdriverpolkit.c
|
|
@SRCDIR@src/access/viraccessmanager.c
|
|
@SRCDIR@src/admin/admin_server.c
|
|
@SRCDIR@src/admin/admin_server_dispatch.c
|
|
@SRCDIR@src/admin/libvirt-admin.c
|
|
@SRCDIR@src/bhyve/bhyve_capabilities.c
|
|
@SRCDIR@src/bhyve/bhyve_command.c
|
|
@SRCDIR@src/bhyve/bhyve_domain.c
|
|
@SRCDIR@src/bhyve/bhyve_driver.c
|
|
@SRCDIR@src/bhyve/bhyve_monitor.c
|
|
@SRCDIR@src/bhyve/bhyve_parse_command.c
|
|
@SRCDIR@src/bhyve/bhyve_process.c
|
|
@SRCDIR@src/conf/backup_conf.c
|
|
@SRCDIR@src/conf/capabilities.c
|
|
@SRCDIR@src/conf/checkpoint_conf.c
|
|
@SRCDIR@src/conf/cpu_conf.c
|
|
@SRCDIR@src/conf/device_conf.c
|
|
@SRCDIR@src/conf/domain_addr.c
|
|
@SRCDIR@src/conf/domain_capabilities.c
|
|
@SRCDIR@src/conf/domain_conf.c
|
|
@SRCDIR@src/conf/domain_event.c
|
|
@SRCDIR@src/conf/domain_validate.c
|
|
@SRCDIR@src/conf/interface_conf.c
|
|
@SRCDIR@src/conf/netdev_bandwidth_conf.c
|
|
@SRCDIR@src/conf/netdev_vlan_conf.c
|
|
@SRCDIR@src/conf/netdev_vport_profile_conf.c
|
|
@SRCDIR@src/conf/network_conf.c
|
|
@SRCDIR@src/conf/networkcommon_conf.c
|
|
@SRCDIR@src/conf/node_device_conf.c
|
|
@SRCDIR@src/conf/node_device_util.c
|
|
@SRCDIR@src/conf/numa_conf.c
|
|
@SRCDIR@src/conf/nwfilter_conf.c
|
|
@SRCDIR@src/conf/nwfilter_params.c
|
|
@SRCDIR@src/conf/object_event.c
|
|
@SRCDIR@src/conf/secret_conf.c
|
|
@SRCDIR@src/conf/snapshot_conf.c
|
|
@SRCDIR@src/conf/storage_adapter_conf.c
|
|
@SRCDIR@src/conf/storage_conf.c
|
|
@SRCDIR@src/conf/virchrdev.c
|
|
@SRCDIR@src/conf/virdomainmomentobjlist.c
|
|
@SRCDIR@src/conf/virdomainobjlist.c
|
|
@SRCDIR@src/conf/virnetworkobj.c
|
|
@SRCDIR@src/conf/virnetworkportdef.c
|
|
@SRCDIR@src/conf/virnodedeviceobj.c
|
|
@SRCDIR@src/conf/virnwfilterbindingdef.c
|
|
@SRCDIR@src/conf/virnwfilterbindingobj.c
|
|
@SRCDIR@src/conf/virnwfilterbindingobjlist.c
|
|
@SRCDIR@src/conf/virnwfilterobj.c
|
|
@SRCDIR@src/conf/virsavecookie.c
|
|
@SRCDIR@src/conf/virsecretobj.c
|
|
@SRCDIR@src/conf/virstorageobj.c
|
|
@SRCDIR@src/cpu/cpu.c
|
|
@SRCDIR@src/cpu/cpu_arm.c
|
|
@SRCDIR@src/cpu/cpu_map.c
|
|
@SRCDIR@src/cpu/cpu_ppc64.c
|
|
@SRCDIR@src/cpu/cpu_s390.c
|
|
@SRCDIR@src/cpu/cpu_x86.c
|
|
@SRCDIR@src/datatypes.c
|
|
@SRCDIR@src/driver.c
|
|
@SRCDIR@src/esx/esx_driver.c
|
|
@SRCDIR@src/esx/esx_network_driver.c
|
|
@SRCDIR@src/esx/esx_storage_backend_iscsi.c
|
|
@SRCDIR@src/esx/esx_storage_backend_vmfs.c
|
|
@SRCDIR@src/esx/esx_storage_driver.c
|
|
@SRCDIR@src/esx/esx_stream.c
|
|
@SRCDIR@src/esx/esx_util.c
|
|
@SRCDIR@src/esx/esx_util.h
|
|
@SRCDIR@src/esx/esx_vi.c
|
|
@SRCDIR@src/esx/esx_vi_methods.c
|
|
@SRCDIR@src/esx/esx_vi_types.c
|
|
@SRCDIR@src/hyperv/hyperv_driver.c
|
|
@SRCDIR@src/hyperv/hyperv_util.c
|
|
@SRCDIR@src/hyperv/hyperv_wmi.c
|
|
@SRCDIR@src/hypervisor/domain_cgroup.c
|
|
@SRCDIR@src/hypervisor/domain_driver.c
|
|
@SRCDIR@src/hypervisor/virclosecallbacks.c
|
|
@SRCDIR@src/hypervisor/virhostdev.c
|
|
@SRCDIR@src/interface/interface_backend_netcf.c
|
|
@SRCDIR@src/interface/interface_backend_udev.c
|
|
@SRCDIR@src/internal.h
|
|
@SRCDIR@src/libvirt-domain-checkpoint.c
|
|
@SRCDIR@src/libvirt-domain-snapshot.c
|
|
@SRCDIR@src/libvirt-domain.c
|
|
@SRCDIR@src/libvirt-host.c
|
|
@SRCDIR@src/libvirt-lxc.c
|
|
@SRCDIR@src/libvirt-network.c
|
|
@SRCDIR@src/libvirt-nodedev.c
|
|
@SRCDIR@src/libvirt-nwfilter.c
|
|
@SRCDIR@src/libvirt-qemu.c
|
|
@SRCDIR@src/libvirt-secret.c
|
|
@SRCDIR@src/libvirt-storage.c
|
|
@SRCDIR@src/libvirt-stream.c
|
|
@SRCDIR@src/libvirt.c
|
|
@SRCDIR@src/libxl/libxl_capabilities.c
|
|
@SRCDIR@src/libxl/libxl_conf.c
|
|
@SRCDIR@src/libxl/libxl_domain.c
|
|
@SRCDIR@src/libxl/libxl_driver.c
|
|
@SRCDIR@src/libxl/libxl_migration.c
|
|
@SRCDIR@src/libxl/xen_common.c
|
|
@SRCDIR@src/libxl/xen_xl.c
|
|
@SRCDIR@src/libxl/xen_xm.c
|
|
@SRCDIR@src/locking/lock_daemon.c
|
|
@SRCDIR@src/locking/lock_daemon_dispatch.c
|
|
@SRCDIR@src/locking/lock_driver_lockd.c
|
|
@SRCDIR@src/locking/lock_driver_sanlock.c
|
|
@SRCDIR@src/locking/lock_manager.c
|
|
@SRCDIR@src/locking/sanlock_helper.c
|
|
@SRCDIR@src/logging/log_daemon.c
|
|
@SRCDIR@src/logging/log_daemon_dispatch.c
|
|
@SRCDIR@src/logging/log_handler.c
|
|
@SRCDIR@src/logging/log_manager.c
|
|
@SRCDIR@src/lxc/lxc_cgroup.c
|
|
@SRCDIR@src/lxc/lxc_conf.c
|
|
@SRCDIR@src/lxc/lxc_container.c
|
|
@SRCDIR@src/lxc/lxc_controller.c
|
|
@SRCDIR@src/lxc/lxc_domain.c
|
|
@SRCDIR@src/lxc/lxc_driver.c
|
|
@SRCDIR@src/lxc/lxc_fuse.c
|
|
@SRCDIR@src/lxc/lxc_hostdev.c
|
|
@SRCDIR@src/lxc/lxc_native.c
|
|
@SRCDIR@src/lxc/lxc_process.c
|
|
@SRCDIR@src/network/bridge_driver.c
|
|
@SRCDIR@src/network/bridge_driver_linux.c
|
|
@SRCDIR@src/network/leaseshelper.c
|
|
@SRCDIR@src/node_device/node_device_driver.c
|
|
@SRCDIR@src/node_device/node_device_udev.c
|
|
@SRCDIR@src/nwfilter/nwfilter_dhcpsnoop.c
|
|
@SRCDIR@src/nwfilter/nwfilter_driver.c
|
|
@SRCDIR@src/nwfilter/nwfilter_ebiptables_driver.c
|
|
@SRCDIR@src/nwfilter/nwfilter_gentech_driver.c
|
|
@SRCDIR@src/nwfilter/nwfilter_learnipaddr.c
|
|
@SRCDIR@src/openvz/openvz_conf.c
|
|
@SRCDIR@src/openvz/openvz_driver.c
|
|
@SRCDIR@src/openvz/openvz_util.c
|
|
@SRCDIR@src/qemu/qemu_agent.c
|
|
@SRCDIR@src/qemu/qemu_alias.c
|
|
@SRCDIR@src/qemu/qemu_backup.c
|
|
@SRCDIR@src/qemu/qemu_block.c
|
|
@SRCDIR@src/qemu/qemu_blockjob.c
|
|
@SRCDIR@src/qemu/qemu_capabilities.c
|
|
@SRCDIR@src/qemu/qemu_cgroup.c
|
|
@SRCDIR@src/qemu/qemu_checkpoint.c
|
|
@SRCDIR@src/qemu/qemu_command.c
|
|
@SRCDIR@src/qemu/qemu_conf.c
|
|
@SRCDIR@src/qemu/qemu_dbus.c
|
|
@SRCDIR@src/qemu/qemu_domain.c
|
|
@SRCDIR@src/qemu/qemu_domain_address.c
|
|
@SRCDIR@src/qemu/qemu_domainjob.c
|
|
@SRCDIR@src/qemu/qemu_driver.c
|
|
@SRCDIR@src/qemu/qemu_extdevice.c
|
|
@SRCDIR@src/qemu/qemu_firmware.c
|
|
@SRCDIR@src/qemu/qemu_hostdev.c
|
|
@SRCDIR@src/qemu/qemu_hotplug.c
|
|
@SRCDIR@src/qemu/qemu_interface.c
|
|
@SRCDIR@src/qemu/qemu_interop_config.c
|
|
@SRCDIR@src/qemu/qemu_migration.c
|
|
@SRCDIR@src/qemu/qemu_migration_cookie.c
|
|
@SRCDIR@src/qemu/qemu_migration_params.c
|
|
@SRCDIR@src/qemu/qemu_monitor.c
|
|
@SRCDIR@src/qemu/qemu_monitor_json.c
|
|
@SRCDIR@src/qemu/qemu_monitor_text.c
|
|
@SRCDIR@src/qemu/qemu_namespace.c
|
|
@SRCDIR@src/qemu/qemu_process.c
|
|
@SRCDIR@src/qemu/qemu_qapi.c
|
|
@SRCDIR@src/qemu/qemu_saveimage.c
|
|
@SRCDIR@src/qemu/qemu_slirp.c
|
|
@SRCDIR@src/qemu/qemu_snapshot.c
|
|
@SRCDIR@src/qemu/qemu_tpm.c
|
|
@SRCDIR@src/qemu/qemu_validate.c
|
|
@SRCDIR@src/qemu/qemu_vhost_user.c
|
|
@SRCDIR@src/qemu/qemu_vhost_user_gpu.c
|
|
@SRCDIR@src/qemu/qemu_virtiofs.c
|
|
@SRCDIR@src/remote/remote_daemon.c
|
|
@SRCDIR@src/remote/remote_daemon_config.c
|
|
@SRCDIR@src/remote/remote_daemon_dispatch.c
|
|
@SRCDIR@src/remote/remote_daemon_stream.c
|
|
@SRCDIR@src/remote/remote_driver.c
|
|
@SRCDIR@src/remote/remote_sockets.c
|
|
@SRCDIR@src/remote/remote_ssh_helper.c
|
|
@SRCDIR@src/rpc/virkeepalive.c
|
|
@SRCDIR@src/rpc/virnetclient.c
|
|
@SRCDIR@src/rpc/virnetclientprogram.c
|
|
@SRCDIR@src/rpc/virnetclientstream.c
|
|
@SRCDIR@src/rpc/virnetdaemon.c
|
|
@SRCDIR@src/rpc/virnetlibsshsession.c
|
|
@SRCDIR@src/rpc/virnetmessage.c
|
|
@SRCDIR@src/rpc/virnetsaslcontext.c
|
|
@SRCDIR@src/rpc/virnetserver.c
|
|
@SRCDIR@src/rpc/virnetserverclient.c
|
|
@SRCDIR@src/rpc/virnetserverprogram.c
|
|
@SRCDIR@src/rpc/virnetserverservice.c
|
|
@SRCDIR@src/rpc/virnetsocket.c
|
|
@SRCDIR@src/rpc/virnetsshsession.c
|
|
@SRCDIR@src/rpc/virnettlscontext.c
|
|
@SRCDIR@src/secret/secret_driver.c
|
|
@SRCDIR@src/security/security_apparmor.c
|
|
@SRCDIR@src/security/security_dac.c
|
|
@SRCDIR@src/security/security_driver.c
|
|
@SRCDIR@src/security/security_manager.c
|
|
@SRCDIR@src/security/security_selinux.c
|
|
@SRCDIR@src/security/security_util.c
|
|
@SRCDIR@src/security/virt-aa-helper.c
|
|
@SRCDIR@src/storage/parthelper.c
|
|
@SRCDIR@src/storage/storage_backend.c
|
|
@SRCDIR@src/storage/storage_backend_disk.c
|
|
@SRCDIR@src/storage/storage_backend_fs.c
|
|
@SRCDIR@src/storage/storage_backend_gluster.c
|
|
@SRCDIR@src/storage/storage_backend_iscsi.c
|
|
@SRCDIR@src/storage/storage_backend_iscsi_direct.c
|
|
@SRCDIR@src/storage/storage_backend_logical.c
|
|
@SRCDIR@src/storage/storage_backend_mpath.c
|
|
@SRCDIR@src/storage/storage_backend_rbd.c
|
|
@SRCDIR@src/storage/storage_backend_scsi.c
|
|
@SRCDIR@src/storage/storage_backend_sheepdog.c
|
|
@SRCDIR@src/storage/storage_backend_vstorage.c
|
|
@SRCDIR@src/storage/storage_backend_zfs.c
|
|
@SRCDIR@src/storage/storage_driver.c
|
|
@SRCDIR@src/storage/storage_file_fs.c
|
|
@SRCDIR@src/storage/storage_file_gluster.c
|
|
@SRCDIR@src/storage/storage_util.c
|
|
@SRCDIR@src/test/test_driver.c
|
|
@SRCDIR@src/util/iohelper.c
|
|
@SRCDIR@src/util/viralloc.c
|
|
@SRCDIR@src/util/virarptable.c
|
|
@SRCDIR@src/util/viraudit.c
|
|
@SRCDIR@src/util/virauth.c
|
|
@SRCDIR@src/util/virauthconfig.c
|
|
@SRCDIR@src/util/virbitmap.c
|
|
@SRCDIR@src/util/vircgroup.c
|
|
@SRCDIR@src/util/vircgroupbackend.c
|
|
@SRCDIR@src/util/vircgroupbackend.h
|
|
@SRCDIR@src/util/vircgroupv1.c
|
|
@SRCDIR@src/util/vircgroupv2.c
|
|
@SRCDIR@src/util/vircgroupv2devices.c
|
|
@SRCDIR@src/util/vircommand.c
|
|
@SRCDIR@src/util/virconf.c
|
|
@SRCDIR@src/util/vircrypto.c
|
|
@SRCDIR@src/util/virdaemon.c
|
|
@SRCDIR@src/util/virdevmapper.c
|
|
@SRCDIR@src/util/virdnsmasq.c
|
|
@SRCDIR@src/util/virerror.c
|
|
@SRCDIR@src/util/virerror.h
|
|
@SRCDIR@src/util/virevent.c
|
|
@SRCDIR@src/util/vireventthread.c
|
|
@SRCDIR@src/util/virfcp.c
|
|
@SRCDIR@src/util/virfdstream.c
|
|
@SRCDIR@src/util/virfile.c
|
|
@SRCDIR@src/util/virfilecache.c
|
|
@SRCDIR@src/util/virfirewall.c
|
|
@SRCDIR@src/util/virfirewalld.c
|
|
@SRCDIR@src/util/virfirmware.c
|
|
@SRCDIR@src/util/virgdbus.c
|
|
@SRCDIR@src/util/virhash.c
|
|
@SRCDIR@src/util/virhook.c
|
|
@SRCDIR@src/util/virhostcpu.c
|
|
@SRCDIR@src/util/virhostmem.c
|
|
@SRCDIR@src/util/virhostuptime.c
|
|
@SRCDIR@src/util/viridentity.c
|
|
@SRCDIR@src/util/virinitctl.c
|
|
@SRCDIR@src/util/viriptables.c
|
|
@SRCDIR@src/util/viriscsi.c
|
|
@SRCDIR@src/util/virjson.c
|
|
@SRCDIR@src/util/virlease.c
|
|
@SRCDIR@src/util/virlockspace.c
|
|
@SRCDIR@src/util/virlog.c
|
|
@SRCDIR@src/util/virmacmap.c
|
|
@SRCDIR@src/util/virmdev.c
|
|
@SRCDIR@src/util/virmodule.c
|
|
@SRCDIR@src/util/virnetdev.c
|
|
@SRCDIR@src/util/virnetdevbandwidth.c
|
|
@SRCDIR@src/util/virnetdevbridge.c
|
|
@SRCDIR@src/util/virnetdevip.c
|
|
@SRCDIR@src/util/virnetdevmacvlan.c
|
|
@SRCDIR@src/util/virnetdevmidonet.c
|
|
@SRCDIR@src/util/virnetdevopenvswitch.c
|
|
@SRCDIR@src/util/virnetdevtap.c
|
|
@SRCDIR@src/util/virnetdevveth.c
|
|
@SRCDIR@src/util/virnetdevvportprofile.c
|
|
@SRCDIR@src/util/virnetlink.c
|
|
@SRCDIR@src/util/virnodesuspend.c
|
|
@SRCDIR@src/util/virnuma.c
|
|
@SRCDIR@src/util/virnvme.c
|
|
@SRCDIR@src/util/virobject.c
|
|
@SRCDIR@src/util/virpci.c
|
|
@SRCDIR@src/util/virperf.c
|
|
@SRCDIR@src/util/virpidfile.c
|
|
@SRCDIR@src/util/virpolkit.c
|
|
@SRCDIR@src/util/virportallocator.c
|
|
@SRCDIR@src/util/virprocess.c
|
|
@SRCDIR@src/util/virqemu.c
|
|
@SRCDIR@src/util/virrandom.c
|
|
@SRCDIR@src/util/virresctrl.c
|
|
@SRCDIR@src/util/virrotatingfile.c
|
|
@SRCDIR@src/util/virscsi.c
|
|
@SRCDIR@src/util/virscsihost.c
|
|
@SRCDIR@src/util/virscsivhost.c
|
|
@SRCDIR@src/util/virsecret.c
|
|
@SRCDIR@src/util/virsocketaddr.c
|
|
@SRCDIR@src/util/virstorageencryption.c
|
|
@SRCDIR@src/util/virstoragefile.c
|
|
@SRCDIR@src/util/virstoragefilebackend.c
|
|
@SRCDIR@src/util/virstring.c
|
|
@SRCDIR@src/util/virsysinfo.c
|
|
@SRCDIR@src/util/virsystemd.c
|
|
@SRCDIR@src/util/virthreadjob.c
|
|
@SRCDIR@src/util/virthreadpool.c
|
|
@SRCDIR@src/util/virtime.c
|
|
@SRCDIR@src/util/virtpm.c
|
|
@SRCDIR@src/util/virtypedparam-public.c
|
|
@SRCDIR@src/util/virtypedparam.c
|
|
@SRCDIR@src/util/viruri.c
|
|
@SRCDIR@src/util/virusb.c
|
|
@SRCDIR@src/util/virutil.c
|
|
@SRCDIR@src/util/virvhba.c
|
|
@SRCDIR@src/util/virvsock.c
|
|
@SRCDIR@src/util/virxml.c
|
|
@SRCDIR@src/vbox/vbox_XPCOMCGlue.c
|
|
@SRCDIR@src/vbox/vbox_common.c
|
|
@SRCDIR@src/vbox/vbox_driver.c
|
|
@SRCDIR@src/vbox/vbox_network.c
|
|
@SRCDIR@src/vbox/vbox_snapshot_conf.c
|
|
@SRCDIR@src/vbox/vbox_storage.c
|
|
@SRCDIR@src/vbox/vbox_tmpl.c
|
|
@SRCDIR@src/vmware/vmware_conf.c
|
|
@SRCDIR@src/vmware/vmware_driver.c
|
|
@SRCDIR@src/vmx/vmx.c
|
|
@SRCDIR@src/vz/vz_driver.c
|
|
@SRCDIR@src/vz/vz_sdk.c
|
|
@SRCDIR@src/vz/vz_utils.c
|
|
@SRCDIR@src/vz/vz_utils.h
|
|
@SRCDIR@tests/virpolkittest.c
|
|
@SRCDIR@tools/libvirt-guests.sh.in
|
|
@SRCDIR@tools/virsh-backup.c
|
|
@SRCDIR@tools/virsh-checkpoint.c
|
|
@SRCDIR@tools/virsh-completer-host.c
|
|
@SRCDIR@tools/virsh-console.c
|
|
@SRCDIR@tools/virsh-domain-monitor.c
|
|
@SRCDIR@tools/virsh-domain.c
|
|
@SRCDIR@tools/virsh-edit.c
|
|
@SRCDIR@tools/virsh-host.c
|
|
@SRCDIR@tools/virsh-interface.c
|
|
@SRCDIR@tools/virsh-network.c
|
|
@SRCDIR@tools/virsh-nodedev.c
|
|
@SRCDIR@tools/virsh-nwfilter.c
|
|
@SRCDIR@tools/virsh-pool.c
|
|
@SRCDIR@tools/virsh-secret.c
|
|
@SRCDIR@tools/virsh-snapshot.c
|
|
@SRCDIR@tools/virsh-util.c
|
|
@SRCDIR@tools/virsh-volume.c
|
|
@SRCDIR@tools/virsh.c
|
|
@SRCDIR@tools/virsh.h
|
|
@SRCDIR@tools/virt-admin.c
|
|
@SRCDIR@tools/virt-host-validate-bhyve.c
|
|
@SRCDIR@tools/virt-host-validate-common.c
|
|
@SRCDIR@tools/virt-host-validate-lxc.c
|
|
@SRCDIR@tools/virt-host-validate-qemu.c
|
|
@SRCDIR@tools/virt-host-validate.c
|
|
@SRCDIR@tools/virt-login-shell-helper.c
|
|
@SRCDIR@tools/vsh-table.c
|
|
@SRCDIR@tools/vsh.c
|
|
@SRCDIR@tools/vsh.h
|