From 5287b597a14773eb9b627ccd0545c675ef8a59f5 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Tue, 12 May 2026 23:45:18 +0200 Subject: [PATCH] docs: clarify that nested virtualization is only for Linux VMs for now (#1233) --- docs/faq.md | 2 +- integration-tests/test_oci.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 790f6e1..7f40944 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -59,7 +59,7 @@ Remote images are pulled into `~/.tart/cache/OCIs/`. ## Nested virtualization support? Tart is limited by functionality of Apple's `Virtualization.Framework`. At the moment `Virtualization.Framework` -supports nested virtualization only on M3 or M4 chips running macOS 15 (Sequoia) or later. By default, it is disabled, but can be enabled by passing the `--nested` flag to `tart run`. +supports nested virtualization only on M3 or M4 chips running macOS 15 (Sequoia) or later and [only for Linux VMs](https://github.com/cirruslabs/tart/issues/1231#issuecomment-4410915463). By default, it is disabled, but can be enabled by passing the `--nested` flag to `tart run`. ## Connecting to a service running on host diff --git a/integration-tests/test_oci.py b/integration-tests/test_oci.py index 4489b35..45fb93d 100644 --- a/integration-tests/test_oci.py +++ b/integration-tests/test_oci.py @@ -46,7 +46,7 @@ def vm_with_random_disk(tart): disk_path = os.path.join(tart.home(), "vms", vm_name, "disk.img") with tempfile.NamedTemporaryFile(delete=False) as tf: - tf.write(os.urandom(amount_to_transfer.bytes)) + tf.write(os.urandom(int(amount_to_transfer.bytes))) tf.close() os.rename(tf.name, disk_path)