add_drive_ro_with_if


Description:

[ Version ( deprecated = true , since = "1.0.84" ) ]
public bool add_drive_ro_with_if (string filename, string iface) throws Error

Warning: add_drive_ro_with_if is deprecated.

add a drive read-only specifying the QEMU block emulation to use

Note:

In new code, use add_drive instead

This is the same as add_drive_ro but it allows you to specify the QEMU interface emulation to use at run time.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error