From 0ebf1114a52af6adc944956cd1de67f10ea05afd Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 4 Nov 2016 08:48:24 +0100 Subject: [PATCH] cdrom is just an alias, so we do not want to print details --- gen-qm.conf.5-opts.pl | 3 + qm.conf.5-opts.adoc | 156 ------------------------------------------ 2 files changed, 3 insertions(+), 156 deletions(-) diff --git a/gen-qm.conf.5-opts.pl b/gen-qm.conf.5-opts.pl index cb62d13..cb23533 100755 --- a/gen-qm.conf.5-opts.pl +++ b/gen-qm.conf.5-opts.pl @@ -8,4 +8,7 @@ use PVE::QemuServer; my $prop = PVE::QemuServer::json_config_properties(); +# cdrom is just an alias, so we do not want to print details +delete $prop->{cdrom}->{format}; + print PVE::RESTHandler::dump_properties($prop); diff --git a/qm.conf.5-opts.adoc b/qm.conf.5-opts.adoc index 485c5aa..12574f1 100644 --- a/qm.conf.5-opts.adoc +++ b/qm.conf.5-opts.adoc @@ -38,162 +38,6 @@ Enable booting from specified disk. This is an alias for option -ide2 -`aio`=`(native | threads)` ;; - -AIO type to use. - -`backup`=`boolean` ;; - -Whether the drive should be included when making backups. - -`bps`=`` ;; - -Maximum r/w speed in bytes per second. - -`bps_max_length`=`` ;; - -Maximum length of I/O bursts in seconds. - -`bps_rd`=`` ;; - -Maximum read speed in bytes per second. - -`bps_rd_length`=`` ;; - -Maximum length of read I/O bursts in seconds. - -`bps_wr`=`` ;; - -Maximum write speed in bytes per second. - -`bps_wr_length`=`` ;; - -Maximum length of write I/O bursts in seconds. - -`cache`=`(directsync | none | unsafe | writeback | writethrough)` ;; - -The drive's cache mode - -`cyls`=`integer` ;; - -Force the drive's physical geometry to have a specific cylinder count. - -`detect_zeroes`=`boolean` ;; - -Controls whether to detect and try to optimize writes of zeroes. - -`discard`=`(ignore | on)` ;; - -Controls whether to pass discard/trim requests to the underlying storage. - -`file`=`` ;; - -The drive's backing volume. - -`format`=`(cloop | cow | qcow | qcow2 | qed | raw | vmdk)` ;; - -The drive's backing file's data format. - -`heads`=`integer` ;; - -Force the drive's physical geometry to have a specific head count. - -`iops`=`` ;; - -Maximum r/w I/O in operations per second. - -`iops_max`=`` ;; - -Maximum unthrottled r/w I/O pool in operations per second. - -`iops_max_length`=`` ;; - -Maximum length of I/O bursts in seconds. - -`iops_rd`=`` ;; - -Maximum read I/O in operations per second. - -`iops_rd_length`=`` ;; - -Maximum length of read I/O bursts in seconds. - -`iops_rd_max`=`` ;; - -Maximum unthrottled read I/O pool in operations per second. - -`iops_wr`=`` ;; - -Maximum write I/O in operations per second. - -`iops_wr_length`=`` ;; - -Maximum length of write I/O bursts in seconds. - -`iops_wr_max`=`` ;; - -Maximum unthrottled write I/O pool in operations per second. - -`mbps`=`` ;; - -Maximum r/w speed in megabytes per second. - -`mbps_max`=`` ;; - -Maximum unthrottled r/w pool in megabytes per second. - -`mbps_rd`=`` ;; - -Maximum read speed in megabytes per second. - -`mbps_rd_max`=`` ;; - -Maximum unthrottled read pool in megabytes per second. - -`mbps_wr`=`` ;; - -Maximum write speed in megabytes per second. - -`mbps_wr_max`=`` ;; - -Maximum unthrottled write pool in megabytes per second. - -`media`=`(cdrom | disk)` (default=`disk`);; - -The drive's media type. - -`model`=`` ;; - -The drive's reported model name, url-encoded, up to 40 bytes long. - -`rerror`=`(ignore | report | stop)` ;; - -Read error action. - -`secs`=`integer` ;; - -Force the drive's physical geometry to have a specific sector count. - -`serial`=`` ;; - -The drive's reported serial number, url-encoded, up to 20 bytes long. - -`size`=`` ;; - -Disk size. This is purely informational and has no effect. - -`snapshot`=`boolean` ;; - -Whether the drive should be included when making snapshots. - -`trans`=`(auto | lba | none)` ;; - -Force disk geometry bios translation mode. - -`werror`=`(enospc | ignore | report | stop)` ;; - -Write error action. - `cores`: `integer (1 - N)` (default=`1`):: The number of cores per socket. -- 2.39.2