autotest/autotest — pull request #234 by lkocman (2012-03-19 13:37:40+00:00)
Title: Removed -vga std from nodefaults. Extended SPICE support. Split add_qxl_vga into two functions

The past SPICE support was covering only old qemu-kvm (the one which is being shipped with RHEL5.X) and it's not working any more with current qemu-releases (-qxl parameter is no more supported).

This commit is covering almost everything except of sasl, dh-key-file and virtio-serial dependent functionality.

I believe that some part virtio-serial is already there so we might just extend the support to suit our needs. I'll try to work on this as well.

The part that might be somehow problematic is removing "forcing of vga = std "when nodefaults is set. As users might need to put vga = std into base.cfg (if it's not specified elsewhere as in base.cfg.sample).

I believe that it's not correct and that vga should be set in base.cfg. This forcing of std was causing multiple occurrence of vga parameter in qemu command line (-vga std ... -vga qxl) which might lead into undefined behavior.

I've also create virt_utils.create_x509_dir() which generating certificates and it's required by openssl part of spice.