这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@keisau
Copy link
Contributor

@keisau keisau commented Jun 9, 2022

  • UInt8 -> UInt16 for supporting larger disk size
  • On Ventura, dispatchMain inside withThrowingTaskGroup results in unexpected behaviors:
    • Segmentation Fault for --no-graphics
    • Otherwise, the VM screen shows up but the virtual machine process doesn't show up in Activity Monitor

@fkorotkov fkorotkov mentioned this pull request Jun 9, 2022

@Option(help: ArgumentHelp("Disk size in Gb"))
var diskSize: UInt8 = 50
var diskSize: Int = 50
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about UInt16? It will make the disk option up to 65 TB. Should be OK for a decade or so. 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Updated the PR accordingly.

Comment on lines 74 to 78
if noGraphics || vnc {
dispatchMain()
} else {
runUI()
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please check if #123 works for you? With this change it seems UI won't be shown at all because it will wait for the group to finish aka VM stops.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ventura was too problematic to me, restored to Monterey now. Will find a M1 machine to test that. Withdrawn the commit and leave it for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried #123 , works except Windowed mode

@keisau keisau changed the title Accept disk size > 255GB, fixing issues on Ventura Accept disk size > 255GB Jun 10, 2022
@fkorotkov fkorotkov merged commit 4cc8a99 into cirruslabs:main Jun 10, 2022
@fkorotkov
Copy link
Contributor

Hey @keisau,

We are preparing 1.0.0 release of Tart at some point in January and would like to clean things up and stabilize the API to provide long term support. Therefore we are introducing Contributor License Agreement which is common practice among mature OSS projects.

Can we kindly ask you to sign the CLA using this link: https://cla-assistant.io/cirruslabs/tart

If you have any question please don't hesitate to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants