Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMs have no config files / StandaloneVM from ISO (win) shuts down on logo #3432

Closed
OldloratH opened this issue Dec 28, 2017 · 6 comments
Closed

Comments

@OldloratH
Copy link

Qubes OS version:

Qubes release 4.0 (R4.0-rc3)

Affected VMs:

StandaloneVM from iso (Windows)

Steps to reproduce the behavior:

qvm-create win --class StandaloneVM --label blue
qvm-prefs win kernel ''
sudo qvm-start win --cdrom=dom0:<path to .iso>

Expected behavior:

Actual behavior:

  • VM shuts down
  • No config file under var/lib/qubes/apvms/win

General notes:

  • The VM shuts down on win logo
  • None of the VMs have config files under var/lib/qubes/appvms, only icon.png files so I cannot change the VM video driver from 'xen' to 'cirrus'

Related issues:

#2488

@marmarek
Copy link
Member

Try installing updates from current-testing repository, very similar bug is fixed there.

@OldloratH
Copy link
Author

I did beforehand, 'sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing' finds everything up to date.

marmarek added a commit to marmarek/qubes-core-admin that referenced this issue Dec 28, 2017
Add feature named 'video-model' to choose custom video model. It needs
to be supported by libvirt: https://libvirt.org/formatdomain.html#elementsVideo

Example usage:

    qvm-features vm-name video-model cirrus

QubesOS/qubes-issues#2488
QubesOS/qubes-issues#3432
@marmarek
Copy link
Member

Are you sure the path is correct? You should put a full path there, not relative one.
I've just tried on fully updated system, and got windows (10) logo for about half a minute, then VM shuts down. Is is the same, or your shuts down earlier?

As for the config file, see PR linked above, you can apply this modification manually to /usr/share/qubes/templates/libvirt/xen.xml

@OldloratH
Copy link
Author

OldloratH commented Dec 28, 2017

Yes, the windows logo stays for about half a minute before shutting down.

/usr/share/qubes/templates/libvirt/xen.xml has a section:
<video> <model type="vga"/> </video>
I tried changing the "vga" to "cirrus" and redoing the steps however no changes.

@marmarek
Copy link
Member

Try increasing memory, for example to 2048M. For me this fixed the problem.

@OldloratH
Copy link
Author

Increasing the initial memory fixed the issue, thank you @marmarek.

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

No branches or pull requests

3 participants