stop using unit='KiB' - use unit='MB' instead

  <memory dumpCore='off' unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>

Why are we using such an unpopular unit of KiB?

unit=‘KiB’

Maybe this is legacy from times where libvirt did not support any other, if that was the case?

Unless there is a good reason against it…

Could you please change the unit to MB for all XML configuration files? @nurmagoz

<memory dumpCore='off' unit='MB'>2000</memory>
<currentMemory unit='MB'>2000</currentMemory>

Untested.

1 Like

Actually will use GB directly instead, No need for MB.

User can still use libvirt GUI in MB (default) if he want to adjust the VM memory.

Source:

Valid units are “b” or “bytes” for bytes, “KB” for kilobytes (103 or 1,000 bytes), “k” or “KiB” for kibibytes (1024 bytes), “MB” for megabytes (106 or 1,000,000 bytes), “M” or “MiB” for mebibytes (220 or 1,048,576 bytes), “GB” for gigabytes (109 or 1,000,000,000 bytes)

1 Like

Just Whonix-Gateway still has the unpopular KiB option. Alternatives?

  <memory dumpCore='off' unit='KiB'>1310720</memory>
  <currentMemory unit='KiB'>1310720</currentMemory>

Done:

1 Like

Should not change from

  <clipboard copypaste='yes'/>

to

  <clipboard copypaste='no'/>

To make these files as similar as possible.

Thats why i changed it to be similar to WS.

Anyway, switched it to yes:

1 Like

Can be similar in the structure but the contents can be different.

Major settings changes should be discussed separately.

Merged. Thank you!