Lines 1194-1205
xenParseSxpr(const struct sexpr *root,
|
Link Here
|
---|
|
1194 |
if (sexpr_int(root, "domain/image/hvm/hap")) |
1194 |
if (sexpr_int(root, "domain/image/hvm/hap")) |
1195 |
def->features |= (1 << VIR_DOMAIN_FEATURE_HAP); |
1195 |
def->features |= (1 << VIR_DOMAIN_FEATURE_HAP); |
1196 |
|
1196 |
|
1197 |
/* Old XenD only allows localtime here for HVM */ |
1197 |
/* Old(?) XenD only allows localtime here for HVM */ |
1198 |
if (sexpr_int(root, "domain/image/hvm/localtime")) |
1198 |
if (sexpr_int(root, "domain/image/hvm/localtime")) |
1199 |
def->clock.offset = VIR_DOMAIN_CLOCK_OFFSET_LOCALTIME; |
1199 |
def->clock.offset = VIR_DOMAIN_CLOCK_OFFSET_LOCALTIME; |
1200 |
} |
1200 |
} |
1201 |
|
1201 |
|
1202 |
/* Current XenD allows localtime here, for PV and HVM */ |
1202 |
/* XenD-3.4.3 allows localtime here, for PV and HVM */ |
|
|
1203 |
if (sexpr_int(root, "domain/platform/localtime")) |
1204 |
def->clock.offset = VIR_DOMAIN_CLOCK_OFFSET_LOCALTIME; |
1205 |
/* Current(?) XenD allows localtime here, for PV and HVM */ |
1203 |
if (sexpr_int(root, "domain/localtime")) |
1206 |
if (sexpr_int(root, "domain/localtime")) |
1204 |
def->clock.offset = VIR_DOMAIN_CLOCK_OFFSET_LOCALTIME; |
1207 |
def->clock.offset = VIR_DOMAIN_CLOCK_OFFSET_LOCALTIME; |
1205 |
|
1208 |
|