-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Jan 18, 2018 at 04:44:54PM -0000, awokd wrote:
> On Thu, January 18, 2018 4:16 pm, "Marek Marczykowski-Górecki" wrote:
> 
> 
> > Not exactly...
> >
> >
> > 1. qvm-start sends a request to qubesd, using Admin API
> > 2. qubesd starts required netvm (recursively), if needed
> > 3. qubesd request qmemman to allocate needed memory for new VM
> > (according to VM's 'memory' property)
> > 4. qubesd calls into appropriate storage pool driver to prepare for VM
> > startup (create copy-on-write layers etc)
> > 5. qubesd gathers needed VM
> > properties etc and builds libvirt VM configuration (XML format, can be
> > seen using `virsh dumpxml`)
> > 6. qubesd calls into libvirt to start the VM
> > (but in paused mode)
> > 7. libvirt setup the VM using libxl, this include starting stubdomain if
> > needed
> > 8. qubesd start auxiliary processes, including:
> > - qrexec-daemon
> > - qubesdb-daemon (and fill its content)
> > 9. libvirt unpause the VM
> > 10. qvm-start-gui process (running separately from qubesd, as part of
> > dom0 user GUI session) starts gui daemon
> 
> Thank you, sir. No wonder I was having trouble following the control flow.

For the record, most of the above is in "start" method:
https://dev.qubes-os.org/projects/core-admin/en/latest/qubes-vm/qubesvm.html#qubes.vm.qubesvm.QubesVM.start
(there is "source" link at the right side)

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlpgz6YACgkQ24/THMrX
1ywAeQgAiNAlBk75F0ezCZHOgPed8Rd3qc8/pP7zRTYeWUOUCiDxSky+FSompw/k
1JS/ROgisCcma+16W2EPmGPDkxUjkJJcL+OJj/jZGZolxnFKoY3Atbu42qEckAlG
br11XSXtdVuV3IPR3nHQhdCn5BltwAgw0QE80ziekvb+9Fh+bIdzH8S9qyk/sVbf
WML6a/Gn81Nh4dWyktLL5V0onZmpn0wbRWhyXFGi9HUOJUgnl7WImLgjGD+3YBch
iCVwULNxewDA0Nkfq2UARnsODjP23M/9CNplUAq1oPumtQYIcsc4wGGDcZH/xXo4
aAhtZskNopUgBeCvBWGr7sywGSs1LA==
=G7vM
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20180118164734.GB2653%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to