>>I think it is the first drive able to create snapshots. Yes, but what's is the drives order ? pci slots order ? maybe this is the order of the "info block" monitor command result?
----- Mail original ----- De: "Dietmar Maurer" <diet...@proxmox.com> À: "Alexandre DERUMIER" <aderum...@odiso.com> Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 31 Août 2012 11:00:03 Objet: RE: [pve-devel] savevm tests > I thing I didn't have check, is where the vmstate is stored if we have > multiple > devices. > On the first disk ? on the boot disk ? I think it is the first drive able to create snapshots. They simply do a stupid loop in block.c: BlockDriverState *bdrv_snapshots(void) { BlockDriverState *bs; if (bs_snapshots) { return bs_snapshots; } bs = NULL; while ((bs = bdrv_next(bs))) { if (bdrv_can_snapshot(bs)) { bs_snapshots = bs; return bs; } } return NULL; } -- -- Alexandre D e rumier Ingénieur Systèmes et Réseaux Fixe : 03 20 68 88 85 Fax : 03 20 68 90 88 45 Bvd du Général Leclerc 59100 Roubaix 12 rue Marivaux 75002 Paris _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel