X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fram_hd.c;h=c90e5bebb8c8fc3ded37c949d9dbc3208bdd280c;hp=6c61ad4d207876b2fc83130740d50d545dfeb75d;hb=0e097100a26bc43eb8964734fa43130fc4c71429;hpb=942df9bb1e2570764d24c74f797247536639502e diff --git a/palacios/src/devices/ram_hd.c b/palacios/src/devices/ram_hd.c index 6c61ad4..c90e5be 100644 --- a/palacios/src/devices/ram_hd.c +++ b/palacios/src/devices/ram_hd.c @@ -23,7 +23,7 @@ -#ifndef DEBUG_IDE +#ifndef CONFIG_DEBUG_IDE #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -108,7 +108,7 @@ static int hd_init(struct guest_info * vm, void * cfg_data) { hd = (struct hd_state *)V3_Malloc(sizeof(struct hd_state)); - PrintDebug("Registering Ram HDD at %p (size=%d)\n", (void *)ramdisk, size); + PrintDebug("Registering Ram HDD at %p (size=%d)\n", (void *)cfg->ramdisk, cfg->size); hd->disk_image = cfg->ramdisk; hd->capacity = cfg->size;