Check-in [aa9f7e3c8a]
Not logged in
Overview
Comment:Properly shutdown socket when VM started during created
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: aa9f7e3c8ad9a7eaac27ad62ac72a786e5aa3e04
User & Date: vitus on 2015-12-21 09:30:23
Other Links: manifest | tags
Context
2015-12-21
19:22
some more documentation check-in: 8360253536 user: vitus tags: trunk
09:30
Properly shutdown socket when VM started during created check-in: aa9f7e3c8a user: vitus tags: trunk
08:47
Fix order of names in the snapshot command check-in: 64cd309237 user: vitus tags: trunk
Changes

Modified vws from [863e5d9a15] to [6ec55019ca].

508
509
510
511
512
513
514

515


516
517
518
519
520
521
522
    # If installation media is specified vws start for new vm
    if parsed_args.install:
        start_opts=Namespace(machine=parsed_args.machine,
                            command='start', cdrom=[parsed_args.install],
                            dir=machinedir, stopped=True, snapshot=False,
                            args="", gui=True 
                           )

        cmd_start(start_opts)






#
# Utility functions for arg parsing
#







>
|
>
>







508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
    # If installation media is specified vws start for new vm
    if parsed_args.install:
        start_opts=Namespace(machine=parsed_args.machine,
                            command='start', cdrom=[parsed_args.install],
                            dir=machinedir, stopped=True, snapshot=False,
                            args="", gui=True 
                           )
        try:                   
            cmd_start(start_opts)
        finally:
            start_opts.sock.shutdown(socket.SHUT_RDWR)




#
# Utility functions for arg parsing
#