The type attribute is not valid with the file and cdrom attributes. When copying OS images, the OS type is automatically determined.