| 
						
					 | 
					
						
						
							
						
						bc52c80aec
					 | 
					
						
						
							
							Add ability to restart VM
						
						
						
						
						
						
					 | 
					
						2018-06-13 12:47:30 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f8e1039a07
					 | 
					
						
						
							
							Further reworking to make list consistent
						
						
						
						
						
						
					 | 
					
						2018-06-13 12:31:27 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						441ac73e14
					 | 
					
						
						
							
							Explicitly continue if VM is not supposed to be on this node
						
						
						
						
						
						
					 | 
					
						2018-06-13 12:12:00 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a31a53c829
					 | 
					
						
						
							
							Don't stupidly try to flush other nodes
						
						
						
						
						
						
					 | 
					
						2018-06-13 12:08:11 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7bb72dc732
					 | 
					
						
						
							
							Explicitly clear the runningdomains list after a flush
						
						
						
						
						
						
					 | 
					
						2018-06-13 12:01:55 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c54a51aa95
					 | 
					
						
						
							
							Make the spaghetti IF conditions more manageable
						
						
						
						
						
						
					 | 
					
						2018-06-13 12:01:42 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						24678c12ca
					 | 
					
						
						
							
							Remove delay in flushing/unflushing
						
						
						
						
						
						
					 | 
					
						2018-06-13 11:45:31 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0b9b803493
					 | 
					
						
						
							
							Revert "Another fun bug"
						
						
						
						
						
						
						
						This reverts commit 80bd9771f3. 
						
						
					 | 
					
						2018-06-12 22:07:40 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						86cf3a57ee
					 | 
					
						
						
							
							Another bugfix
						
						
						
						
						
						
					 | 
					
						2018-06-12 22:03:01 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c16eb86456
					 | 
					
						
						
							
							Undo some bugfixes
						
						
						
						
						
						
					 | 
					
						2018-06-12 22:00:23 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						68f6316c8e
					 | 
					
						
						
							
							Numerous tweaks and bugfixes
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:56:34 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						85c8ced3f9
					 | 
					
						
						
							
							Add some debugging
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:49:46 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						80bd9771f3
					 | 
					
						
						
							
							Another fun bug
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:46:38 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						75efefada3
					 | 
					
						
						
							
							More bugfixes
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:44:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3827261cc9
					 | 
					
						
						
							
							Fix up some typos here
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:28:02 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ae1fd28e5d
					 | 
					
						
						
							
							Remove spurious module references
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:26:53 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f6921816fa
					 | 
					
						
						
							
							Fix typo
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:24:05 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						75477c7297
					 | 
					
						
						
							
							Finish up output printing and several other tweaks
						
						
						
						
						
						
					 | 
					
						2018-06-12 21:21:22 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						aff0af5630
					 | 
					
						
						
							
							Add static data fields to startup
						
						
						
						
						
						
					 | 
					
						2018-06-12 12:07:57 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8cd55b50de
					 | 
					
						
						
							
							Typo
						
						
						
						
						
						
					 | 
					
						2018-06-12 11:58:47 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7b95f8b283
					 | 
					
						
						
							
							Some wording tweaks
						
						
						
						
						
						
					 | 
					
						2018-06-12 02:15:51 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						df057c8f6d
					 | 
					
						
						
							
							Lower width of daemon state
						
						
						
						
						
						
					 | 
					
						2018-06-12 02:14:50 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5612dec66d
					 | 
					
						
						
							
							Typo
						
						
						
						
						
						
					 | 
					
						2018-06-12 02:14:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c66337fd7b
					 | 
					
						
						
							
							Typo
						
						
						
						
						
						
					 | 
					
						2018-06-12 02:13:31 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d0a76b2ecb
					 | 
					
						
						
							
							Reword some of the stuff and handle updates better
						
						
						
						
						
						
					 | 
					
						2018-06-12 02:12:36 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1e9c225a87
					 | 
					
						
						
							
							Change startup state to be "init"
						
						
						
						
						
						
					 | 
					
						2018-06-12 01:55:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a87bf4bc4a
					 | 
					
						
						
							
							Clean up some handling of restarting dead VMs
						
						
						
						
						
						
					 | 
					
						2018-06-12 01:54:01 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						dd2560c2f8
					 | 
					
						
						
							
							Very beautiful and elegant list functions
						
						
						
						
						
						
					 | 
					
						2018-06-12 01:26:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						de68519153
					 | 
					
						
						
							
							Remove superfluous state
						
						
						
						
						
						
					 | 
					
						2018-06-11 23:03:44 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bb1b2de77d
					 | 
					
						
						
							
							Bikeshed this more
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:58:19 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						12fe281169
					 | 
					
						
						
							
							Fix up spacing
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:57:18 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						eca7ca4958
					 | 
					
						
						
							
							Set the daemon into startup state on boot
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:55:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bb1d0c6c5b
					 | 
					
						
						
							
							Remove extra debugging
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:50:52 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						48a5a44db4
					 | 
					
						
						
							
							Add back in the wait to avoid floods on stderr
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:47:53 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f3153a15b3
					 | 
					
						
						
							
							Don't try to do the flush/unflush in the main loop or the timer will kill it
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:45:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8559e429ce
					 | 
					
						
						
							
							Better output
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:09:18 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						069696dbd4
					 | 
					
						
						
							
							Some more debug and a little fix to the terminate check
						
						
						
						
						
						
					 | 
					
						2018-06-11 22:05:36 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f843f294c9
					 | 
					
						
						
							
							Debug
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:52:33 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d99fc891b4
					 | 
					
						
						
							
							Some debug
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:51:38 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e3181b19e1
					 | 
					
						
						
							
							Remove instant triggers and only run flush/unflush on keepalive
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:47:41 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						78e61a759e
					 | 
					
						
						
							
							Don't listen twice in parallel, this seems doomed to failure; we only ever switch HVs by changing the state too
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:35:37 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						202b8f41af
					 | 
					
						
						
							
							Add a short delay before managing state
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:32:13 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d0c8f006c6
					 | 
					
						
						
							
							Forgot to replace state here
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:30:32 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bed701ac38
					 | 
					
						
						
							
							More debug output
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:26:09 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3c2bf4b996
					 | 
					
						
						
							
							Debug output
						
						
						
						
						
						
					 | 
					
						2018-06-11 21:23:57 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8db80fd3dc
					 | 
					
						
						
							
							Reformat the output a bit to optimize visuals against terminal width
						
						
						
						
						
						
					 | 
					
						2018-06-11 20:44:39 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d66fbe556f
					 | 
					
						
						
							
							Make flush/unflush happen after the rest of the keepalive
						
						
						
						
						
						
					 | 
					
						2018-06-11 20:33:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f58784f7b5
					 | 
					
						
						
							
							Fix up the startup clobber in a more elegant way
						
						
						
						
						
						
					 | 
					
						2018-06-11 20:25:22 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f2f9d722db
					 | 
					
						
						
							
							That didn't work exactly right
						
						
						
						
						
						
					 | 
					
						2018-06-11 20:14:24 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5ad49d239e
					 | 
					
						
						
							
							Add some tweaks to prevent clobbering state changes happening at startup and during each keepalive cycle
						
						
						
						
						
						
					 | 
					
						2018-06-11 20:12:11 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |