1. 17 1月, 2013 1 次提交
  2. 12 1月, 2013 1 次提交
  3. 19 12月, 2012 1 次提交
  4. 27 8月, 2012 1 次提交
  5. 13 8月, 2012 2 次提交
  6. 05 8月, 2012 2 次提交
  7. 28 7月, 2012 1 次提交
  8. 06 4月, 2012 2 次提交
  9. 02 2月, 2012 1 次提交
  10. 02 12月, 2011 1 次提交
  11. 27 10月, 2011 3 次提交
  12. 03 9月, 2011 1 次提交
    • S
      Use new macro QEMU_PACKED for packed structures · 541dc0d4
      Stefan Weil 提交于
      Most changes were made using these commands:
      
      git grep -la '__attribute__((packed))'|xargs perl -pi -e 's/__attribute__\(\(packed\)\)/QEMU_PACKED/'
      git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'
      git grep -la '__attribute__((__packed__))'|xargs perl -pi -e 's/__attribute__\(\(__packed__\)\)/QEMU_PACKED/'
      git grep -la '__attribute__ ((__packed__))'|xargs perl -pi -e 's/__attribute__ \(\(__packed__\)\)/QEMU_PACKED/'
      git grep -la '__attribute((packed))'|xargs perl -pi -e 's/__attribute\(\(packed\)\)/QEMU_PACKED/'
      
      Whitespace in linux-user/syscall_defs.h was fixed manually
      to avoid warnings from scripts/checkpatch.pl.
      
      Manual changes were also applied to hw/pc.c.
      
      I did not fix indentation with tabs in block/vvfat.c.
      The patch will show 4 errors with scripts/checkpatch.pl.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      541dc0d4
  13. 12 7月, 2011 1 次提交
  14. 11 7月, 2011 4 次提交
  15. 20 5月, 2011 1 次提交
  16. 26 4月, 2011 2 次提交
    • R
      linux-user: untie syscalls from UID16 · 0c866a7e
      Riku Voipio 提交于
      Quite a number of uid/gid related syscalls are only defined on systems
      with USE_UID16 defined. This is apperently based on the idea that these
      system calls would never be called on non-UID16 systems. Make these
      syscalls available for all architectures that define them.
      
      drop alpha hack to support selected UID16 syscalls. MIPS and PowerPC
      were also defined as UID16, to get uid/gid syscalls available, drop
      this error as well.
      
      Change QEMU to reflect this.
      
      Cc: Ulrich Hecht <uli@suse.de>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Alexander Graf <agraf@suse.de>
      Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
      0c866a7e
    • L
      linux-user: add ioctl(SIOCGIWNAME, ...) support. · 86fcd946
      Laurent Vivier 提交于
      Allow to run properly following program from linux-user:
      
      /* cc -o wifi wifi.c */
      
       #include <stdio.h>
       #include <sys/ioctl.h>
       #include <sys/types.h>
       #include <sys/socket.h>
       #include <linux/wireless.h>
       #include <netinet/in.h>
       #include <arpa/inet.h>
       #include <string.h>
      
      int main(int argc, char **argv)
      {
          int ret;
          struct ifreq req;
          struct sockaddr_in *addr;
          int s;
      
          if (argc != 2) {
              fprintf(stderr, "Need an interface name (like wlan0)\n");
      	return 1;
          }
      
          s = socket( AF_INET, SOCK_DGRAM, 0 );
          if (s < 0) {
              perror("Cannot open socket");
              return 1;
          }
          strncpy(req.ifr_name, argv[1], sizeof(req.ifr_name));
          ret = ioctl( s, SIOCGIWNAME, &req );
          if (ret < 0) {
      	fprintf(stderr, "No wireless extension\n");
              return 1;
          }
      
          printf("%s\n", req.ifr_name);
          printf("%s\n", req.ifr_newname);
          return 0;
      }
      
      $ ./wifi eth0
      No wireless extension
      
      $ ./wifi wlan0
      wlan0
      IEEE 802.11bg
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
      86fcd946
  17. 13 4月, 2011 1 次提交
  18. 17 2月, 2011 1 次提交
  19. 09 2月, 2011 1 次提交
  20. 07 1月, 2011 1 次提交
  21. 03 12月, 2010 1 次提交
  22. 09 8月, 2010 1 次提交
  23. 16 6月, 2010 1 次提交
  24. 22 5月, 2010 1 次提交
  25. 20 5月, 2010 1 次提交
  26. 19 5月, 2010 1 次提交
  27. 01 3月, 2010 1 次提交
  28. 17 10月, 2009 1 次提交
  29. 16 10月, 2009 1 次提交
  30. 02 10月, 2009 2 次提交