GNOME Bugzilla – Bug 664473
Fix post reboot boot
Last modified: 2016-03-31 13:59:28 UTC
This requires Vir.Connection.redefine_domain() API which is not yet available even in git master of libvirt-glib.
Created attachment 201815 [details] [review] Fix post reboot boot After the first boot, Don't: 1. use direct boot. 2. boot from cdrom.
Created attachment 201836 [details] [review] Fix post reboot boot After the first boot, Don't: 1. use direct boot. 2. boot from cdrom.
Review of attachment 201836 [details] [review]: ::: src/vm-creator.vala @@ +33,3 @@ + + direct_boot_regex = /<kernel>.*<\/cmdline>/msx; + cdrom_boot_regex = /<boot.*dev=.cdrom.\/>/msx; btw, why do you want to make it a property? It could be used directly from the replace command. (I can understand having a static const otherwise, but per isntance, I don't see the point)
(In reply to comment #3) > Review of attachment 201836 [details] [review]: > > ::: src/vm-creator.vala > @@ +33,3 @@ > + > + direct_boot_regex = /<kernel>.*<\/cmdline>/msx; > + cdrom_boot_regex = /<boot.*dev=.cdrom.\/>/msx; > > btw, why do you want to make it a property? > > It could be used directly from the replace command. Just don't want to compile the regex all the time. > (I can understand having a static const otherwise, but per isntance, I don't > see the point) Yeah, static is more appropriate i guess.
Created attachment 201841 [details] [review] Fix post reboot boot After the first boot, Don't: 1. use direct boot. 2. boot from cdrom.
Created attachment 201842 [details] [review] VMCreator should start the created domain
Review of attachment 201841 [details] [review]: ack
Review of attachment 201842 [details] [review]: why is it better to have a seperate launch method, instead of create+launch?
Created attachment 201887 [details] [review] Fix post reboot boot After the first boot, Don't: 1. use direct boot. 2. boot from cdrom.
Review of attachment 201887 [details] [review]: ack
Attachment 201887 [details] pushed as 0d0dcf8 - Fix post reboot boot