add_cdrom


Description:

[ Version ( deprecated = true , since = "0.3" ) ]
public bool add_cdrom (string filename) throws Error

Warning: add_cdrom is deprecated.

add a CD-ROM disk image to examine

Note:

In new code, use add_drive_ro instead

This function adds a virtual CD-ROM disk image to the guest.

The image is added as read-only drive, so this function is equivalent of add_drive_ro.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error