1. Dec 16, 2014
  2. Dec 15, 2014
    • Michael S. Tsirkin's avatar
      virtio: core support for config generation · d71de9ec
      Michael S. Tsirkin authored
      
      
      virtio 1.0 spec says:
      
      Drivers MUST NOT assume reads from fields greater than 32 bits wide are
      atomic, nor are reads from multiple fields: drivers SHOULD read device
      configuration space fields like so:
      	u32 before, after;
      	do {
      		before = get_config_generation(device);
      		// read config entry/entries.
      		after = get_config_generation(device);
      	} while (after != before);
      
      Do exactly this, for transports that support it.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      d71de9ec
  3. Dec 14, 2014
  4. Dec 12, 2014
  5. Dec 10, 2014
  6. Dec 09, 2014