Displaying 20 results from an estimated 69 matches for "config_size".
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...e [swap size] [boot size] [root size] [logging size] [data size]
+# ovirt-config-storage [swap size] [boot size] [root size] [logging size] [core dump size] [data size]
#
# All sizes are in megabytes
#
@@ -25,7 +25,8 @@ default_overcommit=0.5
default_boot_size=50
default_root_size=256
default_config_size=5
-default_logging_size=256
+default_logging_size=2048
+default_coredump_size=10240
# -1 indicates data partition should use remaining disk
default_data_size=-1
@@ -33,6 +34,7 @@ boot_min_size=50
root_min_size=256
config_min_size=5
logging_min_size=5
+coredump_min_size=1024
data_min_size=5...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...ts/ovirt-config-storage
@@ -85,30 +85,43 @@ check_partition_sizes()
fi
printf "\n"
- get_drive_size $DRIVE SPACE
- disk_size=$SPACE
- need_size=$(echo "scale=0;" \
- "$SWAP_SIZE + $ROOT_SIZE * 2" \
- "+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
-
- if [ $need_size -gt $disk_size ]; then
- local gap_size=$(echo "scale=0; $need_size-$disk_size;" | bc -l)
- printf "\n"
- printf "=============================================================\n"...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...date_dev RootUpdate
diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage
index af13935..77e00d0 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -22,14 +22,12 @@ fi
default_overcommit=0.5
-default_boot_size=50
default_root_size=256
default_config_size=5
default_logging_size=2048
# -1 indicates data partition should use remaining disk
default_data_size=-1
-boot_min_size=50
root_min_size=256
config_min_size=5
logging_min_size=5
@@ -90,7 +88,7 @@ check_partition_sizes()
get_drive_size $DRIVE SPACE
disk_size=$SPACE
need_size=$...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...)
fi
printf "\n"
- get_drive_size $ROOTDRIVE ROOTDRIVESPACE
- get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE
- ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l)
- HOSTVG_NEED_SIZE=$(echo "scale=0;" \
- "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
-
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
- drive_list="ROOT"
- ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l)
+ if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
+...
2014 Dec 11
0
[PATCH RFC v6 03/20] virtio: feature bit manipulation helpers
...ures, VIRTIO_NET_F_HOST_TSO4);
+ virtio_add_feature(&features, VIRTIO_NET_F_HOST_TSO6);
+ virtio_add_feature(&features, VIRTIO_NET_F_HOST_ECN);
return features;
}
@@ -1560,7 +1560,7 @@ static void virtio_net_guest_notifier_mask(VirtIODevice *vdev, int idx,
void virtio_net_set_config_size(VirtIONet *n, uint32_t host_features)
{
int i, config_size = 0;
- host_features |= (1 << VIRTIO_NET_F_MAC);
+ virtio_add_feature(&host_features, VIRTIO_NET_F_MAC);
for (i = 0; feature_sizes[i].flags != 0; i++) {
if (host_features & feature_sizes[i].flags) {...
2014 Dec 11
0
[PATCH RFC v6 03/20] virtio: feature bit manipulation helpers
...ures, VIRTIO_NET_F_HOST_TSO4);
+ virtio_add_feature(&features, VIRTIO_NET_F_HOST_TSO6);
+ virtio_add_feature(&features, VIRTIO_NET_F_HOST_ECN);
return features;
}
@@ -1560,7 +1560,7 @@ static void virtio_net_guest_notifier_mask(VirtIODevice *vdev, int idx,
void virtio_net_set_config_size(VirtIONet *n, uint32_t host_features)
{
int i, config_size = 0;
- host_features |= (1 << VIRTIO_NET_F_MAC);
+ virtio_add_feature(&host_features, VIRTIO_NET_F_MAC);
for (i = 0; feature_sizes[i].flags != 0; i++) {
if (host_features & feature_sizes[i].flags) {...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 1/7] userspace virtio
...o_update_irq(vdev);
+}
+
+VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
+ uint16_t vendor, uint16_t device,
+ uint16_t subvendor, uint16_t subdevice,
+ uint8_t class_code, uint8_t subclass_code,
+ uint8_t pif, size_t config_size,
+ size_t struct_size)
+{
+ VirtIODevice *vdev;
+ PCIDevice *pci_dev;
+ uint8_t *config;
+
+ pci_dev = pci_register_device(bus, name, struct_size,
+ -1, NULL, NULL);
+ vdev = to_virtio_device(pci_dev);
+
+ vdev->status = 0;
+ vdev->isr =...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 1/7] userspace virtio
...o_update_irq(vdev);
+}
+
+VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
+ uint16_t vendor, uint16_t device,
+ uint16_t subvendor, uint16_t subdevice,
+ uint8_t class_code, uint8_t subclass_code,
+ uint8_t pif, size_t config_size,
+ size_t struct_size)
+{
+ VirtIODevice *vdev;
+ PCIDevice *pci_dev;
+ uint8_t *config;
+
+ pci_dev = pci_register_device(bus, name, struct_size,
+ -1, NULL, NULL);
+ vdev = to_virtio_device(pci_dev);
+
+ vdev->status = 0;
+ vdev->isr =...
2015 Jan 20
1
[PATCH RFC v6 15/20] virtio-net: no writeable mac for virtio-1
...gt; diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
> index d6d1b98..ebbea60 100644
> --- a/hw/net/virtio-net.c
> +++ b/hw/net/virtio-net.c
> @@ -87,6 +87,7 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config)
> memcpy(&netcfg, config, n->config_size);
>
> if (!virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) &&
I don't see VIRTIO_NET_F_CTRL_MAC_ADDR (23) in the VIRTIO 1.0 "5.1.3.1
Legacy Interface: Feature bits" section. Should it be there just so
people don't try to reuse bit 23 in the future?
The...
2015 Jan 20
1
[PATCH RFC v6 15/20] virtio-net: no writeable mac for virtio-1
...gt; diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
> index d6d1b98..ebbea60 100644
> --- a/hw/net/virtio-net.c
> +++ b/hw/net/virtio-net.c
> @@ -87,6 +87,7 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config)
> memcpy(&netcfg, config, n->config_size);
>
> if (!virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) &&
I don't see VIRTIO_NET_F_CTRL_MAC_ADDR (23) in the VIRTIO 1.0 "5.1.3.1
Legacy Interface: Feature bits" section. Should it be there just so
people don't try to reuse bit 23 in the future?
The...
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...mke2fs -j /dev/HostVG/Root -L "ROOT"
- tune2fs -c 0 -i 0 /dev/HostVG/Root
- lvcreate --name RootBackup --size ${ROOT_SIZE}M /dev/HostVG
- mke2fs -j /dev/HostVG/RootBackup -L "ROOT2"
- tune2fs -c 0 -i 0 /dev/HostVG/RootBackup
- fi
if [ "$CONFIG_SIZE" -gt 0 ]; then
log "Creating config partition"
lvcreate --name Config --size ${CONFIG_SIZE}M /dev/HostVG
diff --git a/scripts/ovirt-config-uninstall b/scripts/ovirt-config-uninstall
index 02828a0..22633a0 100755
--- a/scripts/ovirt-config-uninstall
+++ b/scripts/ovi...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...s/ovirt-config-storage b/scripts/ovirt-config-storage
index 8d59a6b..c91b0ea 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -172,7 +172,7 @@ check_partition_sizes()
HOSTVG_NEED_SIZE=$(echo "scale=0;" \
"$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then
drive_list="ROOT"
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE&q...
2018 Jan 05
0
[PATCH v4 3/3] qemu: add linkspeed and duplex settings to virtio-net
...fg.max_virtqueue_pairs, n->max_queues);
virtio_stw_p(vdev, &netcfg.mtu, n->net_conf.mtu);
memcpy(netcfg.mac, n->mac, ETH_ALEN);
+ virtio_stl_p(vdev, &netcfg.speed, n->net_conf.speed);
+ netcfg.duplex = n->net_conf.duplex;
memcpy(config, &netcfg, n->config_size);
}
@@ -1941,6 +1951,26 @@ static void virtio_net_device_realize(DeviceState *dev, Error **errp)
n->host_features |= (1ULL << VIRTIO_NET_F_MTU);
}
+ if (n->net_conf.duplex_str) {
+ if (strncmp(n->net_conf.duplex_str, "half", 5) == 0) {
+...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE
+ get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l)
HOSTVG_NEED_SIZE=$(echo "scale=0;" \
"$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
@@ -224,12 +236,13 @@ manual_input()
while true; do
read -rp "Enter disk device path: " manual_device
if [ -z "$device" ]; then
+ echo "Aborting."
return 1
fi
-...
2020 Apr 22
1
[virtio-dev] Re: [PATCH] virtio-balloon: Disable free page hinting/reporting if page poison is disabled
...page reporting, nothing else.
(when reusing reported pages in the guest, they will either have the
old content, or will be filled with poison_val.)
Makes sense? That should be easy to document.
>
> In the meantime I still have to make more changes to my QEMU patch
> set. The way the config_size logic is implemented is somewhat of a
> pain when you factor in the way the host_features and poison were
> handled.
Okay, I'll wait for updated QEMU patches.
--
Thanks,
David / dhildenb
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...mke2fs -j /dev/HostVG/Root -L "ROOT"
- tune2fs -c 0 -i 0 /dev/HostVG/Root
- lvcreate --name RootBackup --size ${ROOT_SIZE}M /dev/HostVG
- mke2fs -j /dev/HostVG/RootBackup -L "ROOT2"
- tune2fs -c 0 -i 0 /dev/HostVG/RootBackup
- fi
if [ "$CONFIG_SIZE" -gt 0 ]; then
log "Creating config partition"
lvcreate --name Config --size ${CONFIG_SIZE}M /dev/HostVG
diff --git a/scripts/ovirt-config-uninstall b/scripts/ovirt-config-uninstall
index 20f8c2c..95a71a9 100755
--- a/scripts/ovirt-config-uninstall
+++ b/scripts/ovi...
2018 Jan 05
5
[PATCH v4 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
We have found it useful to be able to set the linkspeed and duplex
settings from the host-side for virtio_net. This obviates the need
for guest changes and settings for these fields, and does not require
custom ethtool commands for virtio_net.
The ability to set linkspeed and duplex is useful in various cases
as described here:
16032be virtio_net: add ethtool support for set and get of settings
2009 May 20
0
[PATCHv2-RFC 1/2] qemu-kvm: add MSI-X support
...VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
uint16_t vendor, uint16_t device,
uint16_t subvendor, uint16_t subdevice,
uint16_t class_code, uint8_t pif,
- size_t config_size, size_t struct_size)
+ size_t config_size, size_t struct_size,
+ int nvectors)
{
VirtIODevice *vdev;
PCIDevice *pci_dev;
@@ -775,6 +889,7 @@ VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
vdev = to_virtio_devi...
2009 May 20
0
[PATCHv2-RFC 1/2] qemu-kvm: add MSI-X support
...VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
uint16_t vendor, uint16_t device,
uint16_t subvendor, uint16_t subdevice,
uint16_t class_code, uint8_t pif,
- size_t config_size, size_t struct_size)
+ size_t config_size, size_t struct_size,
+ int nvectors)
{
VirtIODevice *vdev;
PCIDevice *pci_dev;
@@ -775,6 +889,7 @@ VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
vdev = to_virtio_devi...
2009 Dec 08
1
[PATCH node] iscsi remote root basework This lays most of the groundwork for iscsi installation and configuration. At this time configuring iscsi is disabled due to multiple issues with dependent pieces.
...cripts/ovirt-config-storage b/scripts/ovirt-config-storage
index 57aaebd..f9a5b41 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -21,13 +21,13 @@ if is_booted_from_local_disk; then
fi
default_overcommit=0.5
-
+default_boot_size=50
default_root_size=256
default_config_size=5
default_logging_size=2048
# -1 indicates data partition should use remaining disk
default_data_size=-1
-
+boot_min_size=50
root_min_size=256
config_min_size=5
logging_min_size=5
@@ -206,6 +206,11 @@ get_dev_name()
do_configure()
{
local name_and_size
+ if [ "$OVIRT_ISCSI_ENAB...